Index Topic Contents | |||
Previous Topic: DATransform2 Class Next Topic: DATuple Class |
DATransform3 Class
Just as a DATransform2 transforms one two-dimensional object into another two-dimensional object, a DATransform3 transforms one three-dimensional object into another three-dimensional object. Other transforms include the Render function, which transforms three-dimensional objects into two-dimensional objects, and the project function, which transforms a three-dimensional point into a two-dimensional point.
This class inherits from the DABehavior class.
This class inherits from DABehavior.
- DATransform3 Functions
- DATransform3 Properties
- Relevant Functions from the DAStatics Class
- Relevant Properties from the DAStatics Class
DATransform3 Functions
DATransform3 Class
InverseCreates a transformation that is the inverse of the original transformation. The inverse transformation is useful for removing the effects of the original transformation from a three-dimensional object. Use IsSingular to characterize transforms of an unknown type.
transform3Obj.Inverse( )
Return Values
Returns the DATransform3 object.
DATransform3 Class
ParallelTransform2Creates a DATransform2 object from the DATransform3 object. It is equivalent to casting an orthographic projection of the DATransform3 onto the X-Y plane. For predictable results, the transform must be an affine (4x3) transform rather than a perspective (4x4) transform.
transform3Obj.ParallelTransform2( )
Return Values
Returns the DATransform2 object.
DATransform3 Properties
DATransform3 Class
IsSingularA read-only property with a DABoolean value indicating whether the transform is singular or not. A singular transform is one that has no inverse. The value is TRUE if the transform is singular; otherwise, it is FALSE.
transform3Obj.IsSingular
Relevant Functions from the DAStatics Class
The following functions are defined in the DAStatics class and are most relevant to objects of type DATransform3.
lib.Rotate3Anim(axis, radians)
lib.Rotate3-Degrees(axis, degrees)
lib.Rotate3Rate(axis, radians)
lib.Rotate3RateDegrees(axis, degrees)
lib.Scale3UniformAnim(uniformFactor)
lib.Scale3Uniform(uniformFactor)
lib.Translate3Anim(tx, ty, tz)
Relevant Properties from the DAStatics Class
The following properties are defined in the DAStatics class and are most relevant to objects of type DATransform3.
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.