Upravit

Sdílet prostřednictvím


SCNPhysicsCollisionCategory Enum

Definition

Defaults for the collision properties of a SCNPhysicsBody.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SCNPhysicsCollisionCategory
type SCNPhysicsCollisionCategory = 
Inheritance
SCNPhysicsCollisionCategory
Attributes

Fields

Name Value Description
None 0

A category that does not collide.

Default 1

The category for kinematic and dynamic bodies.

Static 2

The category for static bodies.

All 18446744073709551615

A category that indicates that the physics body collides with all bodies that have a nonzero bitmask.

Applies to