Description

Types of node orientation

Since 1.13

Fields

  • none - Node with no orientation properties
  • look_at - Node orientation is given as a point to look at and a vector that indicates the angle at which the subject is looking at the point
  • look_to - Node orientation is given as id of another part to look at and a vector that indicates the angle at which the subject is looking at the part
  • angle_axis - Node orientation is given as an angle and an axis to rotate around
  • quaternion - Node orientation is given as a quaternion

Signature

enum Evas.Canvas3D.Node_Orientation_Type {
    none: 0,
    look_at,
    look_to,
    angle_axis,
    quaternion
}

C signature

typedef enum {
    EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_NONE = 0,
    EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT,
    EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_TO,
    EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_ANGLE_AXIS,
    EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_QUATERNION
} Evas_Canvas3D_Node_Orientation_Type;