UEComponent

binding component between an GameEntity and a SceneNode

Members

Functions

getMenuItems
void getMenuItems(EditorMenuItem[] items)
onCollision
void onCollision(UEComponent )
onCreate
void onCreate()
onDestroy
void onDestroy()
onUpdate
void onUpdate()
registerEvent
void registerEvent(UEEventType _type, UEEventCallback _callback)

helper

setEntity
void setEntity(UEEntity _entity)

Properties

enabled
bool enabled [@property getter]
enabled
bool enabled [@property setter]
entity
UEEntity entity [@property getter]
sceneNode
UESceneNode sceneNode [@property getter]

Inherited Members

From UEObject

hideFlags
void hideFlags(HideFlagSet v)
hideFlags
HideFlagSet hideFlags()
instanceId
UUID instanceId()
newInstanceId
void newInstanceId()
hideInHirarchie
bool hideInHirarchie [@property getter]
typename
string typename [@property getter]
createEditor
IComponentEditor createEditor()
serialize
void serialize(UESerializer serializer)
deserialize
void deserialize(UEDeserializer serializer, string uid)
instantiate
UEObject instantiate(UEObject obj)

TBD

Meta