Actor
Parent |
This is the base class of all things that can exist within the world by them self.
Properties
location : Struct<Vector>
The location of the actor in the world.
Details
| Flags | ReadOnly RuntimeSync RuntimeParallel |
|---|---|
Display Name |
Location |
rotation : Struct<Rotator>
The rotation of the actor in the world.
Details
| Flags | ReadOnly RuntimeSync RuntimeParallel |
|---|---|
Display Name |
Rotation |
scale : Struct<Vector>
The scale of the actor in the world.
Details
| Flags | ReadOnly RuntimeSync RuntimeParallel |
|---|---|
Display Name |
Scale |
Functions
getComponents (componentType : Class<ActorComponent>) → components : Array<Trace<ActorComponent>>
Returns the components that make-up this actor.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Components |
| Name | Type | Description |
|---|---|---|
Component Type |
Class<ActorComponent> |
The class will be used as filter. |
| Name | Type | Description |
|---|---|---|
Components |
Array<Trace<ActorComponent>> |
The components of this actor. |
getFactoryConnectors () → connectors : Array<Trace<FactoryConnection>>
Returns a list of factory connectors this actor might have.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Factory Connectors |
| Name | Type | Description |
|---|---|---|
Connectors |
Array<Trace<FactoryConnection>> |
The factory connectors this actor has. |
getInventories () → inventories : Array<Trace<Inventory>>
Returns a list of inventories this actor might have.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Inventories |
| Name | Type | Description |
|---|---|---|
Inventories |
Array<Trace<Inventory>> |
The inventories this actor has. |
getNetworkConnectors () → connectors : Array<Trace<ActorComponent>>
Returns the name of network connectors this actor might have.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Network Connectors |
| Name | Type | Description |
|---|---|---|
Connectors |
Array<Trace<ActorComponent>> |
The factory connectors this actor has. |
getPipeConnectors () → connectors : Array<Trace<PipeConnectionBase>>
Returns a list of pipe (fluid & hyper) connectors this actor might have.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Pipe Connectors |
| Name | Type | Description |
|---|---|---|
Connectors |
Array<Trace<PipeConnectionBase>> |
The pipe connectors this actor has. |
getPowerConnectors () → connectors : Array<Trace<PowerConnection>>
Returns a list of power connectors this actor might have.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Power Connectors |
| Name | Type | Description |
|---|---|---|
Connectors |
Array<Trace<PowerConnection>> |
The power connectors this actor has. |