Meta_Camera
Module: Metanodes / Definitions
A Camera represents a body position in the world, which viewports can render from.
#include <meta_view.hpp>
Public Types
| Type | Name |
|---|---|
| enum | ConstraintType { CONSTRAINT_NONE =0, CONSTRAINT_WORLD, CONSTRAINT_LOCAL } Values for IDX_ConstraintType. |
| enum | IDX { Idx_Transform, Idx_Eyes, Idx_ConstraintType, Idx_ConstraintTransform } Property index. |
Public Types Documentation
enum ConstraintType
| Enumerator | Value | Description |
|---|---|---|
| CONSTRAINT_NONE | =0 | Do not contrain the transform. (Symbols - C: "ConstraintNone", Lua: __Camera_ConstraintNone) |
| CONSTRAINT_WORLD | Apply the constraint in world coordinates. (Symbols - C: "ConstraintWorld", Lua: __Camera_ConstraintWorld) | |
| CONSTRAINT_LOCAL | Apply the constraint in local coordinates. (Symbols - C: "ConstraintLocal", Lua: __Camera_ConstraintLocal) |
Values for IDX_ConstraintType.
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Transform | mat4w - The transform of the camera | |
| Idx_Eyes | link - The (optional) eyes node used to adjust eye offset and IPD | |
| Idx_ConstraintType | ConstraintType (int) - How to apply a TransformLimits child node | |
| Idx_ConstraintTransform | mat4w - Transform to apply to limits |
Property index.