self:set_far_clip
Client
Sets the far clipping plane distance of the camera
Syntax
local status = self:set_far_clip(
z_far
)Parameters
| Type | Name | Description |
|---|---|---|
float | z_far | Far clipping distance to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.camera.create()
entity:set_far_clip(1000)