Constructor Triangulator
Triangulator(int, Allocator)
Initializes a new instance of the Triangulator<T2> class with the specified capacity
and memory allocator
.
Declaration
public Triangulator(int capacity, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
int | capacity | The capacity of the triangulator. |
Allocator | allocator | The allocator to use. |
Triangulator(Allocator)
Initializes a new instance of the Triangulator<T2> class with the default capacity (16×1024) and memory allocator
.
Declaration
public Triangulator(Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
Allocator | allocator | The allocator to use. |