Microsoft SDK for Java

addTransform

This method of the Direct3dRMFrame Class transforms the local coordinates of the frame by the given affine transformation according to the value of the t parameter.

Syntax

public void addTransform(int t, float[] val);

Parameters

t The value of combine type that specifies how to combine the new transformation with any current transformation.
val The array variable that defines the transformation matrix to be combined.

Remarks

Although a 4-by-4 matrix is given, the last column must be the transpose of [0 0 0 1] for the transformation to be affine.

The specified transformation changes the matrix only for the frame identified by this Direct3dRMFrame object.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.