Meta_LookAt
Module: Metanodes / Definitions
A LookAt node contains settings and child Meta_LookAtTarget nodes, required when a Meta_Assembly contraint type is set to LookAt. More...
#include <meta_division.hpp>
Public Types
| Type | Name |
|---|---|
| enum | Axis { AxisX, AxisY, AxisZ, AxisXNeg, AxisYNeg, AxisZNeg } Values for Idx_Axis and Idx_UpAxis. |
| enum | IDX { Idx_Axis, Idx_UpAxis, Idx_UpAxisNode, Idx_UpAxisAligned } Property Index. |
Detailed Description
struct Meta_LookAt;
A LookAt node contains settings and child Meta_LookAtTarget nodes, required when a Meta_Assembly contraint type is set to LookAt.
This is expected to be a child of a Meta_Assembly.
Public Types Documentation
enum Axis
| Enumerator | Value | Description |
|---|---|---|
| AxisX | Symbols - C: "AxisX", Lua: __LookAt_AxisX | |
| AxisY | Symbols - C: "AxisY", Lua: __LookAt_AxisY | |
| AxisZ | Symbols - C: "AxisZ", Lua: __LookAt_AxisZ | |
| AxisXNeg | Symbols - C: "AxisXNeg", Lua: __LookAt_AxisXNeg | |
| AxisYNeg | Symbols - C: "AxisYNeg", Lua: __LookAt_AxisYNeg | |
| AxisZNeg | Symbols - C: "AxisZNeg", Lua: __LookAt_AxisZNeg |
Values for Idx_Axis and Idx_UpAxis.
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Axis | Axis (int) - The axis it should look down | |
| Idx_UpAxis | Axis (int) - The world up axis. Should not be the same as Axis. | |
| Idx_UpAxisNode | link - A node, optionally, whose world transform should be used to derive the up axis | |
| Idx_UpAxisAligned | Unused. |
Property Index.