Documentation

Unity Engine

Download Unity

Unity Engine

PolygonGeometryInspector

Builds the UI Toolkit fields for a PolygonGeometry serialized property. The computed normals and centroid are shown read-only because they are derived from the vertices. Add the returned element directly to embed the fields inline, or wrap it in a Foldout for a collapsible section.
Read time 1 minuteLast updated 3 hours ago

Definition

public static class PolygonGeometryInspector

Static Methods

Method

Description

CreateFieldsCreate the editable fields for a PolygonGeometry property, with no wrapping foldout.