BoundingBox.BoundsCalculationMethod Enum

Definition

This enum defines what volume type the bound calculation depends on and its priority for it.

public: enum class BoundingBox::BoundsCalculationMethod
public enum BoundingBox.BoundsCalculationMethod
type BoundingBox.BoundsCalculationMethod = 
Public Enum BoundingBox.BoundsCalculationMethod
Inheritance
BoundingBox.BoundsCalculationMethod

Fields

Name Value Description
RendererOverCollider 0

Used Renderers for the bounds calculation and Colliders as a fallback

ColliderOverRenderer 1

Used Colliders for the bounds calculation and Renderers as a fallback

ColliderOnly 2

Omits Renderers and uses Colliders for the bounds calculation exclusively

RendererOnly 3

Omits Colliders and uses Renderers for the bounds calculation exclusively

Applies to