SGActionCode Enumeration

An enumeration of action codes

Parameter

Description

sgActionCodeFlyto

The camera started “fly to” operation to the node

sgActionCodeCirclePattern

The camera started circling the node

sgActionCodeOvalPattern

The camera started flying around the node in an oval pattern

sgActionCodeLinePattern

The camera started flying around the node in a line pattern

sgActionCodeArcPattern

The camera started flying around the node in an arc pattern

sgActionCodeFollowBehind

The camera started following behind a node

sgActionCodeFollowAbove

The camera started following above a node

sgActionCodeFollowBelow

The camera started following below a node

sgActionCodeFollowRight

The camera started following a node from the right

sgActionCodeFollowLeft

The camera started following a node from the left

sgActionCodeFollowBehindAndAbove

The camera started following behind and above a node

sgActionCodeFollowCockpit

The camera started following a node at its pivot position

sgActionCodeFollowFromGround

The camera started following a node from a ground point

sgActionCodeStop

The camera stopped its flight

sgActionCodeJump

The camera jumped to a new position

sgActionCodeDelete

A node was deleted

sgActionCodeEditFinished

A node edit operation finished

sgActionCodeObjectAdded

A new node was added

sgActionCodePlay

The camera started “play” operation on the node

sgActionCodeShow

A node became visible on the terrain

sgActionCodeEditStarted

A node edit operation started

sgActionCodeSelChanged

A node selection was changed

sgActionCodeWaypointChanged

A dynamic object in motion toward a new waypoint

sgActionCodeGroupAdded

A group node was added

sgActionCodeLayerAdded

A layer node was added

Remarks

The SGActionCode enumeration is used with the onNodeAction event. It indicates the type of action that happened on a node.