MultiMeshInstance¶
Inherits: GeometryInstance < VisualInstance < CullInstance < Spatial < Node < Object
实例化 MultiMesh 的节点。
描述¶
MultiMeshInstance
是特有的节点,用于基于MultiMesh资源的GeometryInstance的实例。
这对于优化给定网格的大量实例的渲染是非常有用的(例如,森林中的树木或草丛)。
教程¶
属性¶
属性说明¶
MultiMesh multimesh
Setter |
set_multimesh(value) |
Getter |
get_multimesh() |
在MultiMeshInstance
的所有实例中使用和共享的MultiMesh资源。