Beispiel #1
0
 public ControllerValueRealPtr(ControllerValueRealPtr r) : this(OgrePINVOKE.new_ControllerValueRealPtr__SWIG_2(ControllerValueRealPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 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 void setDestination(ControllerValueRealPtr dest)
 {
     OgrePINVOKE.ControllerReal_setDestination(swigCPtr, ControllerValueRealPtr.getCPtr(dest));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setSource(ControllerValueRealPtr src)
 {
     OgrePINVOKE.ControllerReal_setSource(swigCPtr, ControllerValueRealPtr.getCPtr(src));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static ControllerValueRealPtr create(TextureUnitState t, bool translateU, bool translateV, bool scaleU, bool scaleV, bool rotate)
        {
            ControllerValueRealPtr ret = new ControllerValueRealPtr(OgrePINVOKE.TexCoordModifierControllerValue_create__SWIG_0(TextureUnitState.getCPtr(t), translateU, translateV, scaleU, scaleV, rotate), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static ControllerValueRealPtr create(TextureUnitState t)
        {
            ControllerValueRealPtr ret = new ControllerValueRealPtr(OgrePINVOKE.TexCoordModifierControllerValue_create__SWIG_5(TextureUnitState.getCPtr(t)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #7
0
        public static ControllerValueRealPtr create(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuProgramParameters_t arg0, uint index)
        {
            ControllerValueRealPtr ret = new ControllerValueRealPtr(OgrePINVOKE.FloatGpuParameterControllerValue_create(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuProgramParameters_t.getCPtr(arg0), index), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public ControllerValueRealPtr getDestination()
        {
            ControllerValueRealPtr ret = new ControllerValueRealPtr(OgrePINVOKE.ControllerReal_getDestination(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static ControllerValueRealPtr create(AnimationState targetAnimationState)
        {
            ControllerValueRealPtr ret = new ControllerValueRealPtr(OgrePINVOKE.AnimationStateControllerValue_create__SWIG_1(AnimationState.getCPtr(targetAnimationState)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #10
0
        public ControllerValueRealPtr getFrameTimeSource()
        {
            ControllerValueRealPtr ret = new ControllerValueRealPtr(OgrePINVOKE.ControllerManager_getFrameTimeSource(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #11
0
        public static ControllerValueRealPtr create()
        {
            ControllerValueRealPtr ret = new ControllerValueRealPtr(OgrePINVOKE.FrameTimeControllerValue_create(), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #12
0
        public ControllerReal createFrameTimePassthroughController(ControllerValueRealPtr dest)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.ControllerManager_createFrameTimePassthroughController(swigCPtr, ControllerValueRealPtr.getCPtr(dest));
            ControllerReal        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ControllerReal(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #13
0
        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);
        }
Beispiel #14
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ControllerValueRealPtr obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }