Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCamera::getNearLimit Method
Syntax
C++
void getNearLimit(double& limit) const;

Returns the camera's current near limit. The method fills a passed double value with the current near limit and returns it to a calling subroutine. 

 

Parameters
Description
limit
[out] A placeholder for the near limit value.

The near limit determines how close to the target the camera is. Its value should be between 0 and 1. The values 0 and 1 mean that the near limit is as close to the camera position (if 0) or to the camera target (if 1) as possible according to the precision of the z-buffer.

Copyright © 2002-2022. Open Design Alliance All rights reserved.