Quantum 3
3.0.14
Stores 2D polygon collider data used on static collider MapStaticCollider2D. More...
Public Member Functions | |
| MapStaticCollider2DPolygonData | Clone () |
| Creates a copy that owns its data. RuntimeData is not copied. More... | |
| void | Disposed (Native.Allocator allocator) |
| The asset dispose callback to release memory. More... | |
| void | Loaded (Native.Allocator allocator) |
| The asset loaded callback to initialize runtime data. Must be called from Map.Loaded(IResourceManager, Native.Allocator). More... | |
Public Attributes | |
| FPVector2[] | Normals = Array.Empty<FPVector2>() |
| Vertex normals stored in an array. More... | |
| FPVector2[] | Vertices = Array.Empty<FPVector2>() |
| The vertex array. More... | |
Stores 2D polygon collider data used on static collider MapStaticCollider2D.
|
inline |
The asset loaded callback to initialize runtime data. Must be called from Map.Loaded(IResourceManager, Native.Allocator).
| allocator | Memory allocator |
|
inline |
The asset dispose callback to release memory.
| allocator | Memory allocator |
|
inline |
Creates a copy that owns its data. RuntimeData is not copied.
The vertex array.