Class: Scene
Methods
Fields
| Name | Type | Description |
|---|---|---|
physics | PhysicsDynamicsWorld |
Method declarations
Method: addComponentBounds
lua
function Scene:addComponentBounds(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentCollisionShape
lua
function Scene:addComponentCollisionShape(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentGrid
lua
function Scene:addComponentGrid(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentIcon
lua
function Scene:addComponentIcon(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentLabel
lua
function Scene:addComponentLabel(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentModel
lua
function Scene:addComponentModel(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentNetwork
lua
function Scene:addComponentNetwork(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentPathfinding
lua
function Scene:addComponentPathfinding(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentPlayerControl
lua
function Scene:addComponentPlayerControl(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentRigidBody
lua
function Scene:addComponentRigidBody(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentRigidBody
lua
function Scene:addComponentRigidBody(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentShip
lua
function Scene:addComponentShip(
entityId,
data
) endParameters:
- entityId (
integer) - data (
table)
Returns:
Method: addComponentTransform
lua
function Scene:addComponentTransform(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: createEntity
lua
function Scene:createEntity() endReturns:
integer- new entity ID
Method: getComponentBounds
lua
function Scene:getComponentBounds(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentCollisionShape
lua
function Scene:getComponentCollisionShape(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentGrid
lua
function Scene:getComponentGrid(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentIcon
lua
function Scene:getComponentIcon(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentLabel
lua
function Scene:getComponentLabel(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentModel
lua
function Scene:getComponentModel(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentNetwork
lua
function Scene:getComponentNetwork(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentPathfinding
lua
function Scene:getComponentPathfinding(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentPlayerControl
lua
function Scene:getComponentPlayerControl(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentRigidBody
lua
function Scene:getComponentRigidBody(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentRigidBody
lua
function Scene:getComponentRigidBody(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentShip
lua
function Scene:getComponentShip(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: getComponentTransform
lua
function Scene:getComponentTransform(
entityId
) endParameters:
- entityId (
integer)
Returns:
Method: patchComponentBounds
lua
function Scene:patchComponentBounds(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentCollisionShape
lua
function Scene:patchComponentCollisionShape(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentGrid
lua
function Scene:patchComponentGrid(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentIcon
lua
function Scene:patchComponentIcon(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentLabel
lua
function Scene:patchComponentLabel(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentModel
lua
function Scene:patchComponentModel(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentNetwork
lua
function Scene:patchComponentNetwork(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentPathfinding
lua
function Scene:patchComponentPathfinding(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentPlayerControl
lua
function Scene:patchComponentPlayerControl(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentRigidBody
lua
function Scene:patchComponentRigidBody(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentRigidBody
lua
function Scene:patchComponentRigidBody(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentShip
lua
function Scene:patchComponentShip(
entityId
) endParameters:
- entityId (
integer)
Method: patchComponentTransform
lua
function Scene:patchComponentTransform(
entityId
) endParameters:
- entityId (
integer)
Method: removeEntity
lua
function Scene:removeEntity(
entityId
) endParameters:
- entityId (
integer)
Field declarations
Field: physics
Type: PhysicsDynamicsWorld
