self:set_near_clip
Client
Sets the camera's near clip distance
Syntax
local status = self:set_near_clip(
near_clip
)Parameters
| Type | Name | Description |
|---|---|---|
float | near_clip | Near clip distance to apply Objects closer than 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_near_clip(0.1)