self:is_streamed

Client

Checks 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

TypeNameDescription
boolresulttrue if the instance is currently streamed, false otherwise

Examples

Check whether a directional light instance is streamed
local entity = light.directional.create()

core.engine.print("info", "Directional light streamed:", entity:is_streamed())

On this page