public ControllerFunctionPtr(ControllerFunctionPtr r) : this(OgrePINVOKE.new_ControllerFunctionPtr__SWIG_2(ControllerFunctionPtr.getCPtr(r)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public void setFunction(ControllerFunctionPtr func) { OgrePINVOKE.ControllerReal_setFunction(swigCPtr, ControllerFunctionPtr.getCPtr(func)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public static ControllerFunctionPtr create() { ControllerFunctionPtr ret = new ControllerFunctionPtr(OgrePINVOKE.PassthroughControllerFunction_create__SWIG_1(), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ControllerFunctionPtr getFunction() { ControllerFunctionPtr ret = new ControllerFunctionPtr(OgrePINVOKE.ControllerReal_getFunction(swigCPtr), false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ControllerFunctionPtr create(float sequenceTime) { ControllerFunctionPtr ret = new ControllerFunctionPtr(OgrePINVOKE.AnimationControllerFunction_create__SWIG_1(sequenceTime), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ControllerFunctionPtr create(WaveformType wType) { ControllerFunctionPtr ret = new ControllerFunctionPtr(OgrePINVOKE.WaveformControllerFunction_create__SWIG_6((int)wType), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ControllerFunctionPtr create(WaveformType wType, float arg1, float frequency, float phase) { ControllerFunctionPtr ret = new ControllerFunctionPtr(OgrePINVOKE.WaveformControllerFunction_create__SWIG_3((int)wType, arg1, frequency, phase), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ControllerFunctionPtr create(float scalefactor) { ControllerFunctionPtr ret = new ControllerFunctionPtr(OgrePINVOKE.ScaleControllerFunction_create__SWIG_1(scalefactor), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ControllerFunctionPtr create(SWIGTYPE_p_std__vectorT_float_t keys, SWIGTYPE_p_std__vectorT_float_t values) { ControllerFunctionPtr ret = new ControllerFunctionPtr(OgrePINVOKE.LinearControllerFunction_create__SWIG_2(SWIGTYPE_p_std__vectorT_float_t.getCPtr(keys), SWIGTYPE_p_std__vectorT_float_t.getCPtr(values)), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ControllerReal(ControllerValueRealPtr src, ControllerValueRealPtr dest, ControllerFunctionPtr func) : this(OgrePINVOKE.new_ControllerReal(ControllerValueRealPtr.getCPtr(src), ControllerValueRealPtr.getCPtr(dest), ControllerFunctionPtr.getCPtr(func)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public ControllerReal createController(ControllerValueRealPtr src, ControllerValueRealPtr dest, ControllerFunctionPtr func) { global::System.IntPtr cPtr = OgrePINVOKE.ControllerManager_createController(swigCPtr, ControllerValueRealPtr.getCPtr(src), ControllerValueRealPtr.getCPtr(dest), ControllerFunctionPtr.getCPtr(func)); ControllerReal ret = (cPtr == global::System.IntPtr.Zero) ? null : new ControllerReal(cPtr, false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ControllerFunctionPtr obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }