Collision Shape
self:is_streamed
ClientChecks whether the instance is currently within the streaming range of the active camera
Syntax
local result = self:is_streamed()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the instance is within streaming range, false otherwise |
Examples
local entity_owner = physics.rigid.create()
local entity = physics.collision_shape.create(entity_owner)
core.engine.print("info", "Streamed:", entity:is_streamed())