Right-multiplies the vector v by the transformation t and stores the result in this vector: this = v . t
SIVector3.MulByTransformation( SIVector3 in_pVector, SITransformation in_pTransformation ); |
SIVector3.MulByTransformation( v, t ); |
Parameter | Type | Description |
---|---|---|
v | SIVector3 | Operand vector |
t | SITransformation | Operand transformation |
dim v1, v2, rotAngles, t1 ' Create 3D vectors. set v1 = XSIMath.CreateVector3 set v2 = XSIMath.CreateVector3 set rotAngles = XSIMath.CreateVector3 ' Create Transformation. set t1 = XSIMath.CreateTransform v1.Set 1.0, 0.0, 0.0 rotAngles.Set 0.0, 0.0, 0.7853981633974483 t1.SetRotationFromXYZAngles rotAngles v2.MulByTransformation v1, t1 |