Пример #1
0
 ///Returns the transform object used for specified Space transformations. Null if World Space.
 public Transform GetSpaceTransform(TransformSpace space, GameObject actorOverride = null)
 {
     return(IDirectableExtensions.GetSpaceTransform(this, space, actorOverride));
 }
Пример #2
0
 ///Returns the final actor position in specified Space (InverseTransform Space)
 public Vector3 ActorPositionInSpace(TransformSpace space)
 {
     return(IDirectableExtensions.ActorPositionInSpace(this, space));
 }
Пример #3
0
 ///Trasnform a quaternion rotation in specified space and into an euler rotation
 public Vector3 InverseTransformRotation(Quaternion rot, TransformSpace space)
 {
     return(IDirectableExtensions.InverseTransformRotation(this, rot, space));
 }
Пример #4
0
 ///Transform an euler rotation in specified space and into a quaternion
 public Quaternion TransformRotation(Vector3 euler, TransformSpace space)
 {
     return(IDirectableExtensions.TransformRotation(this, euler, space));
 }
Пример #5
0
 ///Inverse Transforms a point in specified space
 public Vector3 InverseTransformPosition(Vector3 point, TransformSpace space)
 {
     return(IDirectableExtensions.InverseTransformPosition(this, point, space));
 }
Пример #6
0
        ///----------------------------------------------------------------------------------------------


        ///SHORTCUTS
        ///----------------------------------------------------------------------------------------------
        ///Is the root time within clip time range? A helper method.
        public bool RootTimeWithinRange()
        {
            return(IDirectableExtensions.IsRootTimeWithinClip(this));
        }