internal static _Toggle Toggle() { if (_ToggleFunc == null) { _ToggleFunc = (_Toggle)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnRenderPassStateToken_toggle"), typeof(_Toggle)); } return(_ToggleFunc); }
internal static _Toggle Toggle() { if (_ToggleFunc == null) { _ToggleFunc = (_Toggle)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnPostEffect_toggle"), typeof(_Toggle)); } return(_ToggleFunc); }
public virtual void DeactivateUIToggle(_Toggle uiToggle) { uiToggle.toggle.isOn = false; }
public virtual void ActivateUIToggle(_Toggle uiToggle) { uiToggle.toggle.isOn = true; }
public virtual void ToggleUIToggle(_Toggle uiToggle) { uiToggle.toggle.isOn = !uiToggle.toggle.isOn; }