AbstractConstructor.
The entity to which the component is to be attached.
Notifies immediately after the creator component has created an entity.
Notifies when the component is detached from the entity.
The display method.
Whether the component has been initialized.
The IO signals provided by the component.
The component name.
The virtual world to which the owning entity belongs.
ProtectedaddedCreate a copy of the entity to which the component is attached.
The created entity, or null if the operation failed.
Creates a customized copy of the entity to which the component is attached.
The customization function, which is passed the created entity.
The created entity.
Creates a handle (weak reference) to a trackable object.
The type of object that is to be referenced.
The object that is initially referenced by the handle.
A handle to a trackable object.
Protected OptionalinitializeAsynchronous initialization function called immediately before simulating when the model is initialized.
ProtectednotifyNotifies subscribers that an entity has been created.
The entity that was created.
This method is called automatically by create and createCustom, but can be used by derived classes that override the create method.
OptionalpostPost-update function called after physics has been updated.
The timestep (seconds).
Protected OptionalpostAsynchronous post-update function called after physics has been updated.
The timestep (seconds).
ProtectedremovedImmediately triggers asynchronous initialization if the component hasn't already been initialized.
Subscribes to a subscribable object.
Subscriptions created through this function are automatically unsubscribed when the component is detached/removed.
The subscribable object for which to subscribe.
The callback function that is triggered when the object's value is updated.
Unsubscribes from a subscribable object.
The object from which to unsubscribe.
The callback function for the subscription.
True if the subscription was canceled, false otherwise.
OptionalupdateUpdate function called every timestep when simulating.
The timestep (seconds).
Protected OptionalupdateAsynchronous update function called every timestep when simulating.
The timestep (seconds).
Base class for all entity creator components.
Remarks
Must be extended by any custom creator components. The creator copies the entity to which it is attached at initialization and then removes all components except for the creator itself and any graphics components. Upon calling the create method, the entity is pasted, with all components restored except for the creator component itself.