Get Component
Succeeds and returns the child component of type component_type if it exists and is accessible from the calling context.
Note: When called during the AddedToScene or BeginSimulation phase, it will make sure the returned component has achieved the corresponding phase.
Fails if no component of component_type exists or can be accessed.
Verse using statement |
using { /Verse.org/SceneGraph } |
GetComponent<public><native><final>(component_type:castable_subtype(component))<reads><computes><decides>:
Parameters
GetComponent takes the following parameters:
| Name | Type | Description |
|---|---|---|
component_type |
castable_subtype(component) |
Attributes, Specifiers, and Effects
Attributes
The following attributes determine how GetComponent behaves outside the Verse language. For the complete list of attributes, see the Attributes section of the Specifiers Page.
| Attribute | Arguments | Meaning |
|---|---|---|
available |
MinUploadedAtFNVersion := 3200 |
This feature is available beginning with the UEFN version specified by MinUploadedAtFNVersion and unavailable prior to that version. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.