Quantum 3 3.1.0

Public Member Functions | Public Attributes | List of all members
Quantum.MapStaticCollider2DPolygonData Class Reference

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 ()
 The asset dispose callback to release memory. More...
 
void Loaded ()
 The asset loaded callback to initialize runtime data. Must be called from Map.Loaded(IResourceManager). More...
 

Public Attributes

FPVector2[] Normals = Array.Empty<FPVector2>()
 Vertex normals stored in an array. More...
 
FPVector2[] Vertices = Array.Empty<FPVector2>()
 The vertex array. More...
 

Detailed Description

Stores 2D polygon collider data used on static collider MapStaticCollider2D.

Member Function Documentation

◆ Loaded()

void Quantum.MapStaticCollider2DPolygonData.Loaded ( )
inline

The asset loaded callback to initialize runtime data. Must be called from Map.Loaded(IResourceManager).

◆ Disposed()

void Quantum.MapStaticCollider2DPolygonData.Disposed ( )
inline

The asset dispose callback to release memory.

◆ Clone()

MapStaticCollider2DPolygonData Quantum.MapStaticCollider2DPolygonData.Clone ( )
inline

Creates a copy that owns its data. RuntimeData is not copied.

Member Data Documentation

◆ Vertices

FPVector2 [] Quantum.MapStaticCollider2DPolygonData.Vertices = Array.Empty<FPVector2>()

The vertex array.

◆ Normals

FPVector2 [] Quantum.MapStaticCollider2DPolygonData.Normals = Array.Empty<FPVector2>()

Vertex normals stored in an array.