MatrixViewModifier
The modifier can be used to modify the camera matrices simply by matrices.
Inheritance
Code
XML encoding
<MatrixViewModifier enabled='TRUE' logFeature='' postProjection='identity' preProjection='identity' postProjectionTranslation='identity' preProjectionTranslation='identity' postViewing='identity' preViewing='identity' />
Classic encoding
MatrixViewModifier {
enabled TRUE
logFeature [""]
postProjection identity
preProjection identity
postProjectionTranslation identity
preProjectionTranslation identity
postViewing identity
preViewing identity
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| preViewing | SFMatrix4f | inputOutput | identity | The matrix to multiply to the right of the viewing matrix, i.e. applied before the viewing matrix. | ||
| postViewing | SFMatrix4f | inputOutput | identity | The matrix to multiply to the left of the viewing matrix, i.e. applied after the viewing matrix. | ||
| preProjectionTranslation | SFMatrix4f | inputOutput | identity | The matrix to multiply to the right of the projectionTranslation matrix, i.e. applied before the projectionTranslation matrix. | ||
| postProjectionTranslation | SFMatrix4f | inputOutput | identity | The matrix to multiply to the left of the projectionTranslation matrix, i.e. applied after the projectionTranslation matrix. | ||
| preProjection | SFMatrix4f | inputOutput | identity | The matrix to multiply to the right of the projection matrix, i.e. applied before the projection matrix. | ||
| postProjection | SFMatrix4f | inputOutput | identity | The matrix to multiply to the left of the projection matrix, i.e. applied after the projection matrix. | ||
| enabled | SFBool | inputOutput | TRUE | If TRUE, the ViewModifier is enabled | ||
| logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
| metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |
