Main   Class List   Namespace List   Wiki

Marker Class Reference
[Miscellaneous]

A single joint, or knot, along a path. Should be stored inside a Path container object. A path markers can be one of three primary movement types: "normal", "Position Only", or "Kink". More...

Inheritance diagram for Marker:
Inheritance graph
[legend]

List of all members.

Public Attributes

Misc

int msToNext
 Milliseconds to next marker in sequence.
int seqNum
 Marker position in sequence of markers on this path.
MarkerSmoothingType smoothingType
 Path smoothing at this marker/knot. "Linear"¯means no smoothing, while "Spline" means to smooth.
MarkerKnotType type
 Type of this marker/knot. A "normal" knot will have a smooth camera translation/rotation effect.

Static Public Attributes

static bool isRenderable
 Disables rendering of all instances of this type.
static bool isSelectable
 Disables selection of all instances of this type.

Detailed Description

A single joint, or knot, along a path. Should be stored inside a Path container object. A path markers can be one of three primary movement types: "normal", "Position Only", or "Kink".

Example:
new path()
   {
     isLooping = "1";

     new Marker()
      {
         seqNum = "0";
         type = "Normal";
         msToNext = "1000";
         smoothingType = "Spline";
         position = "-0.054708 -35.0612 234.802";
         rotation = "1 0 0 0";
      };

   };
See also:
Path

Member Data Documentation

bool Marker::isRenderable [static]

Disables rendering of all instances of this type.

Reimplemented from SceneObject.

bool Marker::isSelectable [static]

Disables selection of all instances of this type.

Reimplemented from SceneObject.

Milliseconds to next marker in sequence.

Marker position in sequence of markers on this path.

Path smoothing at this marker/knot. "Linear"¯means no smoothing, while "Spline" means to smooth.

Type of this marker/knot. A "normal" knot will have a smooth camera translation/rotation effect.

"Position Only"¯will do the same for translations, leaving rotation un-touched. Lastly, a "Kink" means the rotation will take effect immediately for an abrupt rotation change.



Copyright © GarageGames, LLC. All Rights Reserved.