unreal.GeometryScriptNaniteOptions
¶
- class unreal.GeometryScriptNaniteOptions(enabled: bool = False, fallback_percent_triangles: float = 0.0, fallback_relative_error: float = 0.0)¶
Bases:
StructBase
Configuration settings for Nanite Rendering on StaticMesh Assets
C++ Source:
Plugin: GeometryScripting
Module: GeometryScriptingCore
File: MeshAssetFunctions.h
Editor Properties: (see get_editor_property/set_editor_property)
enabled
(bool): [Read-Write] Set Nanite to Enabled/Disabledfallback_percent_triangles
(float): [Read-Write] Percentage of triangles to maintain in Fallback Mesh used when Nanite is unavailablefallback_relative_error
(float): [Read-Write] Relative Error to maintain in Fallback Mesh used when Nanite is unavailable. Overrides FallbackPercentTriangles. Set to 0 to only use FallbackPercentTriangles (default).