MotionStreak component reference

MotionStreak is used to implement a streak effect on the motion track of a game object.

motionstreak

Click the Add Component button at the bottom of the Inspector panel and select MotionStreak from Effects to add the MotionStreak component to the node.

For details on how to use it, please refer to the MotionStreak example.

add motionStreak

For script interfaces of MotionStreak, please refer to MotionStreak API.

MotionStreak Properties

PropertyDescription
CustomMaterialCustom Material, please refer to the Custom Material documentation for usage.
SrcBlendFactorSource Blend Factor, please refer to the API srcBlendFactor for details.
DstBlendFactorDestination Blend Factor, please refer to the API srcBlendFactor for details.
ColorThe color of the MotionStreak.
PreviewWhether to enable preview. If this option is enabled, the MotionStreak effect can be previewed in the Scene panel.
FadeTimeThe fade time in seconds of the segment.
MinSegThe minimum segment length (the size of the fading segment).
StrokeThe width of the MotionStreak.
TextureThe texture of the MotionStreak.
FastModeWhether to enable the fast mode. When fast mode is enabled, new vertices will be added faster, but with less precision.