self:set_far_clip
Client
Sets the camera's far clip distance
Syntax
local status = self:set_far_clip(
far_clip
)Parameters
| Type | Name | Description |
|---|---|---|
float | far_clip | Far clip distance to apply Objects beyond this distance will not be rendered |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.camera.create()
entity:set_far_clip(2000)