LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

CullingGroup.GetDistance

public int GetDistance(int index);

Parameters

indexThe index of the sphere.

Returns

int The sphere's current distance band index.

Description

Get the current distance band index of a given sphere.