Go to: Related nodes. Attributes.

A motionTrail is a piecewise linear curve drawn a series of points. The motionTrail is not deformable or renderable, but can be used to display the trajectory of a node in time.

Node nameParentsClassificationMFn typeCompatible function sets
motionTrailShapesnapshotShapedrawdb/geometry/motionTrailShapekSnapshotkBase
kNamedObject
kDependencyNode
kDagNode
kShape
kGeometric
kSnapshot

Related nodes

motionTrail, snapshot

Attributes (69)

The following quick index only shows top-level attributes (too many attributes to show them all): activeKeyframeColor (3), beadColor (3), extraKeyframeColor (3), extraKeyframeTimes, extraTrailColor (3), fadeInoutFrames, fastTrailColor (3), frameMarkerColor (3), frameMarkerSize, increment, keyframeColor (3), keyframeFlags, keyframeSize, keyframeTimes, localPosition (3), modifyKeys, pinned, postFrame, preFrame, showExtraKeys, showFrameMarkerFrames, showFrameMarkers, showInBead, showInTangent, showKeyframes, showOutBead, showOutTangent, slowTrailColor (3), startTime, tangentPoints (3), trailColor (3), trailDrawMode, trailPathMode, trailThickness, transformToMove, xrayDraw

Long name (short name)TypeDefaultFlags
activeKeyframeColor (ak) float31.0, 1.0, 0.0outputinputconnectablestorable
The color of selected keyframes
activeKeyframeColorR (akr) float1.0outputinputconnectablestorable
Active keyframe red color value
activeKeyframeColorG (akg) float1.0outputinputconnectablestorable
Active keyframe green color value
activeKeyframeColorB (akb) float0.0outputinputconnectablestorable
Active keyframe blue color value
beadColor (bc) float31.0, 0.0, 1.0outputinputconnectablestorable
The color of the bead
beadColorR (bcr) float1.0outputinputconnectablestorable
Bead red color value
beadColorG (bcg) float0.0outputinputconnectablestorable
Bead green color value
beadColorB (bcb) float1.0outputinputconnectablestorable
Bead blue color value
extraKeyframeColor (ec) float3outputinputconnectablestorable
The color of the extra keyframes
extraKeyframeColorR (ecr) float0.451outputinputconnectablestorable
Extra keyframes red color value
extraKeyframeColorG (ecg) float0.451outputinputconnectablestorable
Extra keyframes green color value
extraKeyframeColorB (ecb) float0.451outputinputconnectablestorable
Extra keyframes blue color value
extraKeyframeTimes (ekt) doubleArrayemptyoutputinputconnectable
Stores the list of extra (non-translation) key times
extraTrailColor (etc) float3outputinputconnectablestorable
The additional color the trail uses when alternating colors between frames or showing the portion of the trail after the current frame in a different color.
extraTrailColorR (etcr) float0.125outputinputconnectablestorable
Extra trail red color value
extraTrailColorG (etcg) float0.098outputinputconnectablestorable
Extra trail green color value
extraTrailColorB (etcb) float0.49outputinputconnectablestorable
Extra trail blue color value
fadeInoutFrames (fi) integer0outputinputconnectablestorablekeyable
The number of frames over which the motion trail will fade in and out.
fastTrailColor (ftc) float30.612, 0, 0outputinputconnectablestorable
The color to show on the motion trail when the object is moving at its fastest when the velocity trail draw mode is selected.
fastTrailColorR (ftr) float0.612outputinputconnectablestorable
Fast velocity trail red color value
fastTrailColorG (ftg) float0outputinputconnectablestorable
Fast velocity trail green color value
fastTrailColorB (ftb) float0outputinputconnectablestorable
Fast velocity trail blue color value
frameMarkerColor (fc) float3outputinputconnectablestorable
The color of the frame markers
frameMarkerColorR (fcr) float0.155outputinputconnectablestorable
Frame marker red color value
frameMarkerColorG (fcg) float0.553outputinputconnectablestorable
Frame marker green color value
frameMarkerColorB (fcb) float0.111outputinputconnectablestorable
Frame marker blue color value
frameMarkerSize (fs) integer1outputinputconnectablestorablekeyable
The size of the frame markers in pixels
increment (b) time1filmoutputinputconnectablestorablekeyable
How much time exists between copies of the geometry. We need this in order to use the pre and post frame attributes to limit the drawing of the curve
keyframeColor (kc) float31.0, 1.0, 1.0outputinputconnectablestorable
The color of the keyframe
keyframeColorR (kcr) float1.0outputinputconnectablestorable
Keyframe red color value
keyframeColorG (kcg) float1.0outputinputconnectablestorable
Keyframe green color value
keyframeColorB (kcb) float1.0outputinputconnectablestorable
Keyframe blue color value
keyframeFlags (fk) intArrayemptyoutputinputconnectable
Stores a list of flags for each key frame specifying what type it is kMotionTrailNoTangent (0 - editable, no tangents) kMotionTrailTangent (1 - unlocked weighted fixed/spline) kMotionTrailLockedTangent (2 - locked weighted fixed/spline) kMotionTrailBreakdown (2 - breakdown)
keyframeSize (ks) integer1outputinputconnectablestorablekeyable
The size of the key frames in pixels
keyframeTimes (kt) doubleArrayemptyoutputinputconnectable
Stores the list of key times
localPosition (lp) double3outputinputconnectablestorable
Local offset from the transformToMove's world matrix, from we draw the trail
localPositionX (lpx) distance (double)0.0cmoutputinputconnectablestorable
Local location in X.
localPositionY (lpy) distance (double)0.0cmoutputinputconnectablestorable
Local location in Y.
localPositionZ (lpz) distance (double)0.0cmoutputinputconnectablestorable
Local location in Z.
modifyKeys (mok) bool0outputinputconnectablestorable
Toggle the modify key tool
trailPathMode (tpm) enum1outputinputconnectablestorable
Controls which part of the motion trail is shown while rendering Legal values: 0 = Before Current Frame, 1 = All Frames, 2 = After Current Frame
pinned (pd) bool1outputinputconnectablestorable
Whether or not the motion trail is persistent after the selection is done
postFrame (af) integer0outputinputconnectablestorable
The number of frames before the current time to draw the motion trail
preFrame (bf) integer0outputinputconnectablestorable
The number of frames before the current time to draw the motion trail
showExtraKeys (sek) bool0outputinputconnectablestorable
Show non-translation keys
showFrameMarkerFrames (sff) bool0outputinputconnectablestorable
Show frame numbers on the frame markers
showFrameMarkers (sfm) bool0outputinputconnectablestorable
Show the frame markers
showInBead (sib) bool0outputinputconnectablestorable
Toggle the show in bead tool
showInTangent (sit) bool0outputinputconnectablestorable
Show the in tangent handle for the selected point
showKeyframes (skf) bool1outputinputconnectablestorablekeyable
Show the keyframe points
showOutBead (sob) bool0outputinputconnectablestorable
Toggle the show out bead tool
showOutTangent (sot) bool0outputinputconnectablestorable
Show the out tangent handle for the selected point
slowTrailColor (stc) float30.230, 0.071, 0.404outputinputconnectablestorable
The color to show on the motion trail when the object is moving at its slowest when the velocity trail draw mode is selected.
slowTrailColorR (str) float0.230outputinputconnectablestorable
Slow velocity trail red color value
slowTrailColorG (stg) float0.071outputinputconnectablestorable
Slow velocity trail green color value
slowTrailColorB (stb) float0.404outputinputconnectablestorable
Slow velocity trail blue color value
startTime (s) time::zerooutputinputconnectablestorablekeyable
The first time at which the curve is created. We need this in order to use the pre and post frame attributes to limit the drawing of the curve
tangentPoints (tps) double3arrayoutputinputconnectable
control points for the derived shapes
txValue (txv) distance (double)0.0cmoutputinputconnectablestorable
X value of a tangent point
tyValue (tyv) distance (double)0.0cmoutputinputconnectablestorable
Y value of a tangent point
tzValue (tzv) distance (double)0.0cmoutputinputconnectablestorable
Z value of a tangent point
trailDrawMode (tdm) enum2outputinputconnectablestorable
Displays the motion trail in different ways to show timing information. Legal values: 0 = Normal, 1 = Show Frame Timing, 2 = Show Current Frame
trailColor (tc) float3outputinputconnectablestorable
The color of the trail
trailColorR (tcr) float0.49outputinputconnectablestorable
Trail red color value
trailColorG (tcg) float0.098outputinputconnectablestorable
Trail green color value
trailColorB (tcb) float0.125outputinputconnectablestorable
Trail blue color value
trailThickness (tt) integer1outputinputconnectablestorablekeyable
The line width for the motion trail
transformToMove (tr) Messagen/aoutputinputconnectable
This attribute is connected to the associated node that we snapshot.
xrayDraw (xd) bool1outputinputconnectablestorable
Whether or not the motion trail is drawn in xray mode or not