SbViewVolumeGetAlignRotation Method (Boolean) |
Returns a rotation that would align a viewed object so that
its positive x-axis (of its object space) is to the right
in the view and its positive y-axis is up.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public SbRotation GetAlignRotation(
bool rightAngleOnly
)
Public Function GetAlignRotation (
rightAngleOnly As Boolean
) As SbRotation
public:
SbRotation GetAlignRotation(
bool rightAngleOnly
)
member GetAlignRotation :
rightAngleOnly : bool -> SbRotation
Parameters
- rightAngleOnly
- Type: SystemBoolean
If true, use only 90 degrres rotation
to perform action.
Return Value
Type:
SbRotationRotation value.
Remarks
If rightAngleOnly is true, it will
come as close as it can to this goal by using only 90 degrees
rotations.
See Also