Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Create<T>(T)

Create a GeometryHolder object with a specified geometric shape.
Read time 1 minuteLast updated 6 days ago

Definition

public static GeometryHolder Create<T>(T geometry) where T : struct, IGeometry

Parameters

geometry

T
The geometry to store in this GeometryHolder.

Returns

Type

Description

GeometryHolderReturns the GeometryHolder object with the geometric shape stored inside.

Remarks