/// <summary> /// Gets a boolean value for the specified frustum attribute. /// </summary> /// /// <param name="attribute"> /// The frustum attribute to retrieve the boolean value for. /// </param> /// /// <returns> /// The boolean value for the specified frustum attribute. /// </returns> public bool GetAttributeBool(ZFrustumAttribute attribute) { bool value = false; ZPlugin.LogOnError(ZPlugin.GetFrustumAttributeB( this._nativePtr, attribute, out value), "GetFrustumAttributeB"); return(value); }
/// <summary> /// Gets a float value for the specified frustum attribute. /// </summary> /// /// <param name="attribute"> /// The frustum attribute to retrieve the float value for. /// </param> /// /// <returns> /// The float value for the specified frustum attribute. /// </returns> public float GetAttributeFloat(ZFrustumAttribute attribute) { float value = 0; ZPlugin.LogOnError(ZPlugin.GetFrustumAttributeF32( this._nativePtr, attribute, out value), "GetFrustumAttributeF32"); return(value); }
/// <summary> /// Sets the boolean value for the specified frustum attribute. /// </summary> /// /// <param name="attribute"> /// The frustum attribute to update. /// </param> /// <param name="value"> /// The boolean value to update the frustum attribute with. /// </param> public void SetAttribute(ZFrustumAttribute attribute, bool value) { ZPlugin.LogOnError(ZPlugin.SetFrustumAttributeB( this._nativePtr, attribute, value), "SetFrustumAttributeB"); }
/// <summary> /// Sets the float value for the specified frustum attribute. /// </summary> /// /// <param name="attribute"> /// The frustum attribute to update. /// </param> /// <param name="value"> /// The float value to update the frustum attribute with. /// </param> public void SetAttribute(ZFrustumAttribute attribute, float value) { ZPlugin.LogOnError(ZPlugin.SetFrustumAttributeF32( this._nativePtr, attribute, value), "SetFrustumAttributeF32"); }