Class: GameGraph__CVertex
Game graph vertex binding.
Source
C++ class GameGraph__CVertex
Custom Constructor
GameGraph__CVertex
Remarks
Engine-owned descriptor returned by CGameGraph.vertex. Keep it as a short-lived view of graph data, not as persistent game state.
Extends
Constructors
Constructor
ts
protected new GameGraph__CVertex(): GameGraph__CVertex;Engine-created game-graph vertex descriptor.
Returns
GameGraph__CVertex
Overrides
Methods
game_point()
ts
game_point(): vector;Get this point position in global game space.
Returns
Game-space position.
level_id()
ts
level_id(): number;Get the id of the level that owns this graph point.
Returns
number
Level id.
level_point()
ts
level_point(): vector;Get this point position in its level.
Returns
Level-space position.
level_vertex_id()
ts
level_vertex_id(): number;Get the level-graph vertex this game-graph point maps to.
Returns
number
Level vertex id inside the owning level.
Properties
__name
ts
readonly __name: string;LuaBind instance constructor name.
Inherited from
__name
ts
readonly static __name: string;LuaBind class constructor name.