///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)); }
///Returns the final actor position in specified Space (InverseTransform Space) public Vector3 ActorPositionInSpace(TransformSpace space) { return(IDirectableExtensions.ActorPositionInSpace(this, space)); }
///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)); }
///Transform an euler rotation in specified space and into a quaternion public Quaternion TransformRotation(Vector3 euler, TransformSpace space) { return(IDirectableExtensions.TransformRotation(this, euler, space)); }
///Inverse Transforms a point in specified space public Vector3 InverseTransformPosition(Vector3 point, TransformSpace space) { return(IDirectableExtensions.InverseTransformPosition(this, point, space)); }
///---------------------------------------------------------------------------------------------- ///SHORTCUTS ///---------------------------------------------------------------------------------------------- ///Is the root time within clip time range? A helper method. public bool RootTimeWithinRange() { return(IDirectableExtensions.IsRootTimeWithinClip(this)); }