The detected color index.
Notifies when the component is detached from the entity.
Whether the component has been initialized.
The IO signals provided by the color sensor.
The component name.
The detected entity.
The maximum range for the color sensor.
The tolerance used to determine whether a color has been detected.
The virtual world to which the owning entity belongs.
Protected OptionaladdedAdded function called immediately after the component is attached to an entity.
ProtectedhandleCreates 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.
Protected OptionalpostAsynchronous post-update function called after physics has been updated.
The timestep (seconds).
ProtectedremovedRemoved function called immediately after the component is detached from an entity.
Immediately triggers asynchronous initialization if the component hasn't already been initialized.
ProtectedsubscribeSubscribes 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.
ProtectedunsubscribeUnsubscribes from a subscribable object.
The object from which to unsubscribe.
The callback function for the subscription.
True if the subscription was canceled, false otherwise.
Protected OptionalupdateUpdate function called every timestep when simulating.
The timestep (seconds).
Protected OptionalupdateAsynchronous update function called every timestep when simulating.
The timestep (seconds).
The base type for all components.