self:set_near_clip
Client
Sets the near clipping plane distance of the camera
Syntax
local status = self:set_near_clip(
z_near
)Parameters
| Type | Name | Description |
|---|---|---|
float | z_near | Near clipping distance to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.camera.create()
entity:set_near_clip(0.1)