Documentation

Unity Engine

Download Unity

Unity Engine

CreateFields(SerializedProperty)

Create the editable fields for a PolygonGeometry property, with no wrapping foldout.
Read time 1 minuteLast updated 4 hours ago

Definition

public static VisualElement CreateFields(SerializedProperty property)

Parameters

The serialized PolygonGeometry property to build the fields for.

Returns

Type

Description

VisualElementA container with the polygon fields; the derived normals and centroid are shown read-only.