User Tools

Site Tools


transformchildrenchangedtopic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
transformchildrenchangedtopic [2026/04/25 10:27] – created divinertransformchildrenchangedtopic [2026/08/15 08:30] (current) – diviner
Line 1: Line 1:
-===== TransformChildrenUpdatedTopic =====+//CREAT3D.ECS.DataModel.EventSystems.Topics// 
 +===== TransformChildrenChangedTopic =====
  
-^Namespace | CREAT3D.ECS.DataModel.EventSystems.Topics | +^Type | [[Topic]] | 
-^Payload | [[EmptyMessage]] |+^Payload | [[ValueMessage]]<[[IEntity]], bool> |
 ^Broadcaster | [[ITransformComponent]] | ^Broadcaster | [[ITransformComponent]] |
  
-This topic is broadcast from the [[TransformComponent|ITransformComponent]] of an [[Entity]] whenever the transform's Position or Rotation value changes. If a transform contains child entities, their positions and rotations are also modified along with the parent's, and this broadcast is used to trigger lookups on a transform's children and their new values.+This topic is broadcast from the [[ITransformComponent|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.1777112875.txt.gz · Last modified: by diviner

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki