API reference
API reference
Select your platform
No SDKs available
No versions available

TransformExtensions Class

Static Methods

FindChildRecursive ( parent , name )
Signature
static Transform Oculus.Interaction.TransformExtensions.FindChildRecursive(this Transform parent, string name)
Parameters
parent: this Transform
name: string
Returns
Transform
InverseTransformPointUnscaled ( transform , position )
Transforms position from world space to local space.
Signature
static Vector3 Oculus.Interaction.TransformExtensions.InverseTransformPointUnscaled(this Transform transform, Vector3 position)
Parameters
transform: this Transform
position: Vector3
Returns
Vector3
TransformBounds ( transform , bounds )
Transform a bounding box from local to world space.
Signature
static Bounds Oculus.Interaction.TransformExtensions.TransformBounds(this Transform transform, in Bounds bounds)
Parameters
transform: this Transform  Transfrom that bounds is local to
bounds: in Bounds  The bounds to transform, in local space
Returns
Bounds  The bounding box in world space
TransformPointUnscaled ( transform , position )
Transforms position from local space to world space.
Signature
static Vector3 Oculus.Interaction.TransformExtensions.TransformPointUnscaled(this Transform transform, Vector3 position)
Parameters
transform: this Transform
position: Vector3
Returns
Vector3