Example #1
0
 /// <summary>
 /// Creates an angle in degrees from a radian.
 /// </summary>
 /// <param name="value">The initial value in radians.</param>
 /// <since_tizen> 3 </since_tizen>
 public Degree(Radian value) : this(Interop.Degree.new_Degree__SWIG_2(Radian.getCPtr(value)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public Radian(Radian rhs) : this(OgrePINVOKE.new_Radian__SWIG_3(Radian.getCPtr(rhs)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public Degree(Radian r) : this(OgrePINVOKE.new_Degree__SWIG_2(Radian.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public virtual void yaw(Radian angle)
 {
     OgrePINVOKE.Node_yaw__SWIG_1(swigCPtr, Radian.getCPtr(angle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void RotateBy(Radian angle, Vector3 axis)
 {
     Interop.ActorInternal.RotateByRadian(SwigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 public void setSpotlightOuterAngle(Radian val)
 {
     OgrePINVOKE.Light_setSpotlightOuterAngle(swigCPtr, Radian.getCPtr(val));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
 public void FromAngleAxis(Vector3 rkAxis, Radian fRadians)
 {
     OgrePINVOKE.Matrix3_FromAngleAxis(swigCPtr, Vector3.getCPtr(rkAxis), Radian.getCPtr(fRadians));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #8
0
 public void setSpotlightRange(Radian innerAngle, Radian outerAngle)
 {
     OgrePINVOKE.Light_setSpotlightRange__SWIG_1(swigCPtr, Radian.getCPtr(innerAngle), Radian.getCPtr(outerAngle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #9
0
 public void rotate(Vector3 axis, Radian angle)
 {
     OgrePINVOKE.Node_rotate__SWIG_1(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #10
0
 public void rotate(Radian angle)
 {
     OgreOverlayPINVOKE.Overlay_rotate(swigCPtr, Radian.getCPtr(angle));
     if (OgreOverlayPINVOKE.SWIGPendingException.Pending)
     {
         throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #11
0
 public void setRotation(Radian rotation)
 {
     OgrePINVOKE.Billboard_setRotation(swigCPtr, Radian.getCPtr(rotation));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #12
0
 public void FromEulerAnglesZYX(Radian fYAngle, Radian fPAngle, Radian fRAngle)
 {
     OgrePINVOKE.Matrix3_FromEulerAnglesZYX(swigCPtr, Radian.getCPtr(fYAngle), Radian.getCPtr(fPAngle), Radian.getCPtr(fRAngle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #13
0
 public virtual void setAngle(Radian angle)
 {
     OgrePINVOKE.ParticleEmitter_setAngle(swigCPtr, Radian.getCPtr(angle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #14
0
 public void setRotation(Radian rad)
 {
     OgrePINVOKE.Particle_setRotation(swigCPtr, Radian.getCPtr(rad));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #15
0
 public void rotate(Vector3 axis, Radian angle, Node.TransformSpace relativeTo)
 {
     OgrePINVOKE.Node_rotate__SWIG_0(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle), (int)relativeTo);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #16
0
 public virtual void yaw(Radian angle, Node.TransformSpace relativeTo)
 {
     OgrePINVOKE.Node_yaw__SWIG_0(swigCPtr, Radian.getCPtr(angle), (int)relativeTo);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #17
0
 public void setYawPitchDist(Radian yaw, Radian pitch, float dist)
 {
     BitesPINVOKE.CameraMan_setYawPitchDist(swigCPtr, Radian.getCPtr(yaw), Radian.getCPtr(pitch), dist);
     if (BitesPINVOKE.SWIGPendingException.Pending)
     {
         throw BitesPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #18
0
 public void ToAngleAxis(Radian rfAngle, Vector3 rkAxis)
 {
     OgrePINVOKE.Quaternion_ToAngleAxis__SWIG_0(swigCPtr, Radian.getCPtr(rfAngle), Vector3.getCPtr(rkAxis));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #19
0
 internal void SetOrientation(Radian angle, Vector3 axis)
 {
     Interop.ActorInternal.Actor_SetOrientation__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #20
0
 public void setFOVy(Radian fovy)
 {
     OgrePINVOKE.Frustum_setFOVy(swigCPtr, Radian.getCPtr(fovy));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #21
0
        public static Radian Sqrt(Radian fValue)
        {
            Radian ret = new Radian(OgrePINVOKE.Math_Sqrt__SWIG_1(Radian.getCPtr(fValue)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #22
0
        public static float Tan(Radian fValue)
        {
            float ret = OgrePINVOKE.Math_Tan__SWIG_1(Radian.getCPtr(fValue));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #23
0
        public bool ToEulerAnglesZYX(Radian rfYAngle, Radian rfPAngle, Radian rfRAngle)
        {
            bool ret = OgrePINVOKE.Matrix3_ToEulerAnglesZYX(swigCPtr, Radian.getCPtr(rfYAngle), Radian.getCPtr(rfPAngle), Radian.getCPtr(rfRAngle));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #24
0
        public static float Sin(Radian fValue, bool useTables)
        {
            float ret = OgrePINVOKE.Math_Sin__SWIG_0(Radian.getCPtr(fValue), useTables);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #25
0
        public static Radian Abs(Radian rValue)
        {
            Radian ret = new Radian(OgrePINVOKE.Math_Abs__SWIG_2(Radian.getCPtr(rValue)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #26
0
 public AngleThresholdPair(Radian t, Radian u) : this(Interop.AngleThresholdPair.NewAngleThresholdPair(Radian.getCPtr(t), Radian.getCPtr(u)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #27
0
 public Quaternion(Radian rfAngle, Vector3 rkAxis) : this(OgrePINVOKE.new_Quaternion__SWIG_4(Radian.getCPtr(rfAngle), Vector3.getCPtr(rkAxis)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #28
0
        public bool equals(Quaternion rhs, Radian tolerance)
        {
            bool ret = OgrePINVOKE.Quaternion_equals(swigCPtr, Quaternion.getCPtr(rhs), Radian.getCPtr(tolerance));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #29
0
        public Vector2 randomDeviant(Radian angle)
        {
            Vector2 ret = new Vector2(OgrePINVOKE.VectorBase2_randomDeviant(swigCPtr, Radian.getCPtr(angle)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #30
0
 public AngleAxis(Radian initialAngle, Vector3 initialAxis) : this(Interop.AngleAxis.new_AngleAxis__SWIG_1(Radian.getCPtr(initialAngle), Vector3.getCPtr(initialAxis)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }