Method | Description | |
---|---|---|
OnAttach ( CryEngine.EntityId child ) : void |
Called whenever another entity has been linked to this entity.
|
|
OnCollision ( |
Sent on entity collision.
|
|
OnDetach ( CryEngine.EntityId child ) : void |
Called whenever another entity has been unlinked from this entity.
|
|
OnDetachThis ( CryEngine.EntityId parent ) : void |
Called whenever this entity is unliked from another entity.
|
|
OnEditorReset ( bool enteringGame ) : void |
Called when resetting the state of the entity in Editor.
|
|
OnEnterArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void |
Sent when entity enters to the area proximity.
|
|
OnEnterNearArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void | ||
OnLeaveArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void |
Sent when entity leaves the area proximity.
|
|
OnLeaveNearArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void | ||
OnLevelLoaded ( ) : void |
Called after level has been loaded, is not called on serialization. Note that this is called prior to GameRules.OnClientConnect and OnClientEnteredGame!
|
|
OnMove ( EntityMoveFlags moveFlags ) : void |
Called when the entities local or world transformation matrix changes. (Position / Rotation / Scale)
|
|
OnMoveInsideArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void |
Sent when entity moves inside the area proximity.
|
|
OnMoveNearArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId, float fade ) : void | ||
OnPostUpdate ( ) : void | ||
OnPrePhysicsUpdate ( ) : void | ||
OnStartGame ( ) : void |
Called when game is started (games may start multiple times)
|
|
OnStartLevel ( ) : void |
Called when the level is started.
|
|
PostSerialize ( ) : void | ||
PostUpdateView ( |
Called after updating the view associated to this actor.
|
|
UpdateView ( |
Called to update the view associated to this actor.
|
Method | Description | |
---|---|---|
FullSerialize ( Serialization serialize ) : void | ||
InternalFullSerialize ( Serialization serialize ) : void | ||
InternalNetSerialize ( Serialization serialize, int aspect, byte profile, int flags ) : void | ||
NetSerialize ( Serialization serialize, int aspect, byte profile, int flags ) : void | ||
OnAnimationEvent ( |
protected OnAttach ( CryEngine.EntityId child ) : void | ||
child | CryEngine.EntityId | |
return | void |
protected OnCollision ( |
||
source | ||
target | ||
hitPos | ||
contactNormal | ||
penetration | float | |
radius | float | |
return | void |
protected OnDetach ( CryEngine.EntityId child ) : void | ||
child | CryEngine.EntityId | |
return | void |
protected OnDetachThis ( CryEngine.EntityId parent ) : void | ||
parent | CryEngine.EntityId | |
return | void |
protected OnEditorReset ( bool enteringGame ) : void | ||
enteringGame | bool | true if currently entering gamemode, false if exiting. |
return | void |
protected OnEnterArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void | ||
entityId | CryEngine.EntityId | |
areaId | int | |
areaEntityId | CryEngine.EntityId | |
return | void |
protected OnEnterNearArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void | ||
entityId | CryEngine.EntityId | |
areaId | int | |
areaEntityId | CryEngine.EntityId | |
return | void |
protected OnLeaveArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void | ||
entityId | CryEngine.EntityId | |
areaId | int | |
areaEntityId | CryEngine.EntityId | |
return | void |
protected OnLeaveNearArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void | ||
entityId | CryEngine.EntityId | |
areaId | int | |
areaEntityId | CryEngine.EntityId | |
return | void |
protected OnMove ( EntityMoveFlags moveFlags ) : void | ||
moveFlags | EntityMoveFlags | |
return | void |
protected OnMoveInsideArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId ) : void | ||
entityId | CryEngine.EntityId | |
areaId | int | |
areaEntityId | CryEngine.EntityId | |
return | void |
protected OnMoveNearArea ( CryEngine.EntityId entityId, int areaId, CryEngine.EntityId areaEntityId, float fade ) : void | ||
entityId | CryEngine.EntityId | |
areaId | int | |
areaEntityId | CryEngine.EntityId | |
fade | float | |
return | void |
protected PostUpdateView ( |
||
viewParams | ||
return | void |
protected UpdateView ( |
||
viewParams | ||
return | void |