Viewport.modelToViewSpaceTransform Property
Parent Object:
ViewportDefined in namespace "adsk::core" and the header file is <Core/Application/Viewport.h>
Description
Returns a transformation matrix that defines the transform from model to viewport space.
Syntax
"viewport_var" is a variable referencing a Viewport object.
# Get the value of the property. propertyValue = viewport_var.modelToViewSpaceTransform
|
"viewport_var" is a variable referencing a Viewport object.
#include <Core/Application/Viewport.h>
// Get the value of the property. Ptr<Matrix3D> propertyValue = viewport_var->modelToViewSpaceTransform();
|
Property Value
This is a read only property whose value is a
Matrix3D.
Version
Introduced in version October 2022