I3DCamera¶
- class I3DCamera¶
Bases:
ImpactCOMWrapperBase- Summary:
Represents a 3D camera.
- Remarks:
Introduced in Impact 11.0.0.46.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property aspect_ratio¶
Gets aspect_ratio.
- Summary:
Sets the aspect ratio of the camera.
- Remarks:
When exporting an image, the aspect ratio should be set before any i3_d_scene.view_extents calls are made, using the same values (or proportions) as the image export, in order for the scene to be captured optimally.
- Returns:
The value of aspect_ratio.
- Return type:
- isNone()¶
Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.