Photon Quantum 3.0.0

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

The asset that contains data of a convex polygon. More...

Public Member Functions

override void Disposed (IResourceManager assets, Native.Allocator allocator)
 
override void Loaded (IResourceManager assets, Native.Allocator allocator)
 

Public Attributes

FPVector2[] Normals
 The normal of each edge of the polygon. It is automatically computed based on the vertices. More...
 
FPVector2[] Vertices
 The position of each vertex relative to the physics collider position. More...
 

Detailed Description

The asset that contains data of a convex polygon.

Member Data Documentation

◆ Vertices

FPVector2 [] Quantum.PolygonCollider.Vertices

The position of each vertex relative to the physics collider position.

◆ Normals

FPVector2 [] Quantum.PolygonCollider.Normals

The normal of each edge of the polygon. It is automatically computed based on the vertices.