Click or drag to resize
Ab4d.SharpEngine logo

TransformationUtils Class

TransformationUtils is a static helper class that defines method that helps working with transformations.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.UtilitiesTransformationUtils

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public static class TransformationUtils

The TransformationUtils type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAddTransformation Adds the transformToAdd to the specified SceneNode. If SceneNode have no Transform set, set the transformToAdd to it. If SceneNode already have Transform set, the transformToAdd is added to existing or new TransformGroup.
Public methodStatic memberCombineTransformations Combines the specified transformations. If one transformation is null or Identity, then the other transformation is returned. If both transformations are null, then null is returned. If both transformations are defined, then a TransformGroup is returned (if transform1 is TransformGroup, then transform2 is added to that group; otherwise a new TransformGroup and both transformations are added to the group).
Public methodStatic memberGetCombinedTransformation Returns a transformation that is created by combining (multiplying) the specified transformations (MatrixTransform is returned). If one matrix is null or Identity, then the other transformation is returned. If both transformations are null, then null is returned.
Top
See Also