Class VectorUtils.Geometry
Holds the tessellated Scene geometry and associated data.
Namespace: Unity.VectorGraphics
Syntax
public class GeometryFields
Color
The color of the geometry.
Declaration
public Color ColorField Value
| Type | Description | 
|---|---|
| Color | 
Fill
The fill of the geometry. May be null.
Declaration
public IFill FillField Value
| Type | Description | 
|---|---|
| IFill | 
FillTransform
The filling transform of the geometry.
Declaration
public Matrix2D FillTransformField Value
| Type | Description | 
|---|---|
| Matrix2D | 
Indices
The triangle indices of the geometry.
Declaration
public ushort[] IndicesField Value
| Type | Description | 
|---|---|
| UInt16[] | 
SettingIndex
The setting index of the geometry.
Declaration
public int SettingIndexField Value
| Type | Description | 
|---|---|
| Int32 | 
Remarks
This is used to refer to the proper texture/gradient settings inside the texture atlas. This should be set to 0 for geometries without texture or gradients.
UnclippedBounds
The unclipped bounds of the geometry.
Declaration
public Rect UnclippedBoundsField Value
| Type | Description | 
|---|---|
| Rect | 
UVs
The UV coordinates of the geometry.
Declaration
public Vector2[] UVsField Value
| Type | Description | 
|---|---|
| Vector2[] | 
Vertices
The vertices of the geometry.
Declaration
public Vector2[] VerticesField Value
| Type | Description | 
|---|---|
| Vector2[] | 
WorldTransform
The world transform of the geometry.
Declaration
public Matrix2D WorldTransformField Value
| Type | Description | 
|---|---|
| Matrix2D |