IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Static Public Member Functions | List of all members
TransformUtil Class Reference

Static Public Member Functions

static Bounds TransformBounds (Transform trans, Bounds localBounds)
 
static Bounds InverseTransformBounds (Transform trans, Bounds worldBounds)
 

Detailed Description

Definition at line 4 of file TransformUtil.cs.

Member Function Documentation

static Bounds TransformUtil.InverseTransformBounds ( Transform  trans,
Bounds  worldBounds 
)
inlinestatic

Transform a bounding box from the transform's local space to the world space.

Note
Often, you'll need to transform.parent as the first parameter to this function, for example when you try to calculate a mesh's bounding box in the local coordinate system of another transform.

Definition at line 20 of file TransformUtil.cs.

static Bounds TransformUtil.TransformBounds ( Transform  trans,
Bounds  localBounds 
)
inlinestatic

Transform a bounding box from the transform's local space to the world space.

Note
Often, you'll need to transform.parent as the first parameter to this function, for example when you try to calculate a mesh's bounding box in the local coordinate system of another transform.

Definition at line 10 of file TransformUtil.cs.


The documentation for this class was generated from the following file: