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.

CullingGroup.GetDistance

public int GetDistance(int index);

Parameters

index The index of the sphere.

Returns

int The sphere's current distance band index.

Description

Get the current distance band index of a given sphere.