SIMatrix3.Set.1.vbs Example

Applies To

SIMatrix3.Set method

Description

This example demonstrates how to use the SIMatrix3.Set method.

Code

dim v1, m1
' Create 3D vector.
set v1 = XSIMath.CreateVector3(1.0, 2.0, 3.0)
' Create 3x3 matrix.
set m1 = XSIMath.CreateMatrix3(4.0, 0.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 2.0)
v1.MulByMatrix3InPlace m1

Keywords

SIMatrix3 Set


Autodesk Softimage 2011