Trail2DSystem
Trail2DSystem
Kind: global class
- Trail2DSystem
- new Trail2DSystem(engine)
- .simulator :
RibbonXFixedPhysicsSimulator
- .graphics :
GraphicsEngine
- .renderLayer :
RenderLayer
|null
- .link(transform, trail, entityId)
- .unlink(component, transform, entity)
- .updateTrailEntity(trail, transform)
new Trail2DSystem(engine)
Param | Type |
---|---|
engine | Engine |
trail2DSystem.simulator : RibbonXFixedPhysicsSimulator
Kind: instance property of Trail2DSystem
trail2DSystem.graphics : GraphicsEngine
Kind: instance property of Trail2DSystem
trail2DSystem.renderLayer : RenderLayer
| null
Kind: instance property of Trail2DSystem
trail2DSystem.link(transform, trail, entityId)
Kind: instance method of Trail2DSystem
Param | Type |
---|---|
transform | Transform |
trail | Trail2D |
entityId | number |
trail2DSystem.unlink(component, transform, entity)
Kind: instance method of Trail2DSystem
Param | Type |
---|---|
component | Trail2D |
transform | Transform |
entity | number |
trail2DSystem.updateTrailEntity(trail, transform)
Kind: instance method of Trail2DSystem
Param | Type |
---|---|
trail | Trail2D |
transform | Transform |