Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PhysicsVisualizationSettings.colorVariance

public static float colorVariance;

Description

Used to disinguish neighboring Colliders.

Linearly blends the existing color for a Collider with a random color that is built from the underlying physics object address.