Прочетете на английски Редактиране

Споделяне чрез


BoundingBox.BoundsCalculationMethod Enum

Definition

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

C++
public: enum class 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

Продукт Версии
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0