API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::setNearLimit Method
OdCamera::setNearLimit Method
Syntax
C++
void setNearLimit(double const limit);
Parameters 
Description 
double const limit 
[in] A new near limit value. Should be between 0.0 and 1.0. 

Sets the camera's near limit. 

 

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.