SoCameraSetBalanceAdjustment Method (Single, Boolean) |
Note: This API is now obsolete.
Sets the stereo balance (the position of the zero parallax plane) and specifies whether the balance value is defined as a fraction of the camera near distance.
Namespace: OIV.Inventor.Nodes
[ObsoleteAttribute("Obsolete since Open Inventor 9700. Use SoStereoCamera and balance / balanceNearFrac fields instead.")] [EditorBrowsableAttribute(EditorBrowsableState.Never)] public virtual void SetBalanceAdjustment( float adjustment, bool nearFrac )
Note: Since the projection matrix always depends on the camera's near plane, in some cases it may be necessary to detect changes to the camera near plane and adjust by setting a new stereo balance value. Open Inventor will make these adjustments automatically if the nearFrac parameter is set to true. In this case the stereo balance value is defined as a fraction of the camera near distance.
Default balance is 1.0. The default can be set using the OIV_STEREO_BALANCE environment variable. Default nearFrac is false. The default can be set using the OIV_STEREO_BALANCE_NEAR_FRAC environment variable.
Caution |
---|
Obsolete since Open Inventor 9700. Use OIV.Inventor.Nodes.SoStereoCamera and balance / balanceNearFrac fields instead. |