transformchildrenchangedtopic
CREAT3D.ECS.DataModel.EventSystems.Topics
TransformChildrenChangedTopic
| Type | Topic |
|---|---|
| Payload | ValueMessage<IEntity, bool> |
| Broadcaster | ITransformComponent |
This topic is broadcast from the TransformComponent of an IEntity whenever the transform loses or gains a child IEntity. Child loss can either happen by manual removal or child destruction. The payload contains two values; the child IEntity that was modified and a boolean value that signals whether the child IEntity was added (true) or removed (false). Child addition and removal is meant to be achieved by modifying the child's Parent value, rather than manipulating the parent's Children collection.
transformchildrenchangedtopic.txt · Last modified: by diviner
