WorldMeshBlockEventData

lumin. WorldMeshBlockEventData

WorldMeshBlockEventData

Extends

Methods

getBlockId() → {lumin.WorldMeshBlockData.Id}

Returns the id of the block.

Returns:
Type
lumin.WorldMeshBlockData.Id

getData() → {lumin.WorldMeshBlockData}

Returns the data for the mesh block. Will not have valid data if the block is being deleted.

Returns:
Type
lumin.WorldMeshBlockData

getPrismId() → {BigInt}

Inherited From:

Returns the Prism ID of the target Prism.

Returns:

the Prism ID of the target Prism.

Type
BigInt

getUpdateType() → {lumin.densemesh.MeshBlockUpdate}

Returns what caused the update. If the value is MeshBlockUpdate::kDeleted, use getBlockId to
get the id of the block removed.

Returns:
Type
lumin.densemesh.MeshBlockUpdate

isInputEventType() → {boolean}

Inherited From:

Returns true if this is an input event (a subclass of InputEventData).

Returns:

true if this is an input event

Type
boolean

toString() → {string}

Inherited From:

Returns a string representation of this event for debug purposes.

Returns:
Type
string