unreal.ViewportGrid¶
- class unreal.ViewportGrid(spacing_cm: float = 0.0, extent_cm: float = 0.0, height: float = 0.0)¶
Bases:
StructBaseGrid parameters echoed back from an annotated viewport capture for round-tripping / reporting.
C++ Source:
Plugin: EditorToolset
Module: EditorToolset
File: EditorAppToolset.h
Editor Properties: (see get_editor_property/set_editor_property)
extent_cm(float): [Read-Write] How far the grid extends from the origin in each axis (cm).height(float): [Read-Write] Height of the ground-plane grid in world space.spacing_cm(float): [Read-Write] World-space distance between grid lines (cm). Zero if the grid was disabled.