Vehicle Wheel

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 within streaming range, false otherwise

Examples

Check whether a vehicle wheel is streamed in
local entity_owner = physics.vehicle.create()
local entity = physics.vehicle_wheel.create(entity_owner)

core.engine.print("info", "Streamed:", entity:is_streamed())

On this page