self:set_far_clip

Client

Sets the far clipping plane distance of the camera


Syntax

local status = self:set_far_clip(
    z_far
)

Parameters

TypeNameDescription
floatz_farFar clipping distance to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set the far clip distance of a camera
local entity = core.camera.create()

entity:set_far_clip(1000)

On this page