API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::getNearLimit Method
OdCamera::getNearLimit Method
Syntax
C++
void getNearLimit(double& limit) const;
Parameters 
Description 
double& limit 
[out] A placeholder for the near limit value. 

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. 

 

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–2020. Open Design Alliance. All rights reserved.