Photon Quantum 3.0.0

Public Attributes | List of all members
Quantum.StaticColliderData Struct Reference

Information about a static collider. More...

Public Attributes

AssetRef Asset
 A reference to an asset that can be linked to the static collider. By default, no asset is linked to the collider. More...
 
Int32 ColliderIndex
 0-based index of the collider in the Map Map.StaticColliders2D or Map.StaticColliders3D array. More...
 
Boolean IsTrigger
 If the static collider is trigger. More...
 
Int32 Layer
 The layer of the static baked into the map asset. By default is the layer of the GameObject that has the static collider component. More...
 
PhysicsCommon.StaticColliderMutableMode MutableMode
 If the static collider can be enabled/disabled in runtime and, if so, its starting state. More...
 
String Name
 The name of the static baked into the map asset. By default is the name of the GameObject that has the static collider component. More...
 
String Tag
 The tag of the static baked into the map asset. By default is the tag of the GameObject that has the static collider component. More...
 

Detailed Description

Information about a static collider.

Member Data Documentation

◆ Name

String Quantum.StaticColliderData.Name

The name of the static baked into the map asset. By default is the name of the GameObject that has the static collider component.

◆ Tag

String Quantum.StaticColliderData.Tag

The tag of the static baked into the map asset. By default is the tag of the GameObject that has the static collider component.

◆ Layer

Int32 Quantum.StaticColliderData.Layer

The layer of the static baked into the map asset. By default is the layer of the GameObject that has the static collider component.

◆ Asset

AssetRef Quantum.StaticColliderData.Asset

A reference to an asset that can be linked to the static collider. By default, no asset is linked to the collider.

◆ IsTrigger

Boolean Quantum.StaticColliderData.IsTrigger

If the static collider is trigger.

◆ ColliderIndex

Int32 Quantum.StaticColliderData.ColliderIndex

0-based index of the collider in the Map Map.StaticColliders2D or Map.StaticColliders3D array.

◆ MutableMode

PhysicsCommon.StaticColliderMutableMode Quantum.StaticColliderData.MutableMode

If the static collider can be enabled/disabled in runtime and, if so, its starting state.