PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations.a3d Package / PDF3DNode Class / setMatrix Method
A 12-element 3D transformation matrix that specifies the position and orientation of this node, relative to its parent, in world coordinates.
Collapse All Expand All
In This Topic

setMatrix Method
In This Topic
Sets the 3D transformation matrix.
Syntax

    public void setMatrix(
       double[] matrix
    )

#### Parameters

matrix
  A 12-element 3D transformation matrix that specifies the position and orientation of this node, relative to its parent, in world coordinates.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When matrix parameter does not have 12 elements.

See Also

#### Reference

PDF3DNode Class
PDF3DNode Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.