Click or drag to resize
Ab4d.SharpEngine logo

StandardTransform Methods

The StandardTransform type exposes the following members.

Methods
 NameDescription
Public methodGetAverageScale Returns an average scale that is calculated by averaging the ScaleX, ScaleY and ScaleZ.
Public methodGetScaleFactors Returns a Vector3 created from ScaleX, ScaleY, ScaleZ properties.
Public methodGetTranslateVector Returns a Vector3 created from TranslateX, TranslateY and TranslateZ properties.
Public methodGetTranslateVector3DObsolete.
Returns a Vector3 created from TranslateX, TranslateY and TranslateZ properties.
Public methodMove(Vector3) Updates the translate transformation by moving for the specified offsets and updates the transformation matrix.
Public methodMove(Single, Single, Single) Updates the translate transformation by moving for the specified offsets and updates the transformation matrix.
Public methodReset Reset method sets all translation and rotation to zero and all scales to 1.
Public methodRotate Adjusts the rotation angles for the specified rotation angles and updates the transformation matrix.
Public methodScale(Single) Scales the existing transformation by multiplying the current scale factors with the specified scaleFactor and updates the transformation matrix.
Public methodScale(Single, Single, Single) Scales the existing transformation by multiplying the current scale factors with the specified scale factors and updates the transformation matrix.
Public methodSetRotate Sets rotation angles to the specified values and updates the transformation matrix.
Public methodSetScale(Single) Sets scale factor for all x, y and z scale factors to the specified scale and updates the transformation matrix.
Public methodSetScale(Vector3) Sets the scale factors to the specified values and updates the transformation matrix.
Public methodSetScale(Single, Single, Single) Sets the scale factors to the specified values and updates the transformation matrix.
Public methodSetTranslate(Vector3) Sets translate transformation values to the specified values and updates the transformation matrix.
Public methodSetTranslate(Single, Single, Single) Sets translate transformation values to the specified values and updates the transformation matrix.
Public methodToString
(Overrides ObjectToString)
Protected methodUpdateMatrix Updates the Matrix4x4 that defines this transformation and is set to Value property.
Top
See Also