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 (53)

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

Long name (short name)TypeDefaultFlags
transformToMove (tr) Messagen/aoutputinputconnectable
This attribute is connected to the associated node that we snapshot.
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.
keyframeTimes (kt) doubleArrayemptyoutputinputconnectable
Stores the list of key times
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)
extraKeyframeTimes (ekt) doubleArrayemptyoutputinputconnectable
Stores the list of extra (non-translation) key times
trailThickness (tt) double1.0outputinputconnectablestorablekeyable
The line width for the motion trail
keyframeSize (ks) distance (double)1.0cmoutputinputconnectablestorablekeyable
The size of the key frames in pixels
preFrame (bf) time0filmoutputinputconnectablestorable
The number of frames before the current time to draw the motion trail
postFrame (af) time0filmoutputinputconnectablestorable
The number of frames before the current time to draw the motion trail
pinned (pd) bool1outputinputconnectablestorable
Whether or not the motion trail is persistent after the selection is done
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
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
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
startTime (s) time0filmoutputinputconnectablestorablekeyable
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
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
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
showInTangent (sit) bool0outputinputconnectablestorable
Show the in tangent handle for the selected point
showOutTangent (sot) bool0outputinputconnectablestorable
Show the out tangent handle for the selected point
showInBead (sib) bool0outputinputconnectablestorable
Toggle the show in bead tool
showOutBead (sob) bool0outputinputconnectablestorable
Toggle the show out bead tool
modifyKeys (mok) bool0outputinputconnectablestorable
Toggle the modify key tool
xrayDraw (xd) bool1outputinputconnectablestorable
Whether or not the motion trail is drawn in xray mode or not
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
showFrameMarkers (sfm) bool0outputinputconnectablestorable
Show the frame markers
showFrameMarkerFrames (sff) bool0outputinputconnectablestorable
Show frame numbers on the frame markers
frameMarkerSize (fs) distance (double)1.0cmoutputinputconnectablestorablekeyable
The size of the frame markers in pixels
showExtraKeys (sek) bool0outputinputconnectablestorable
Show non-translation keys
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