Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

CullingGroup.SetBoundingDistances is a myth?

Discussion in 'Documentation' started by PanicEnsues, Jul 30, 2019.

  1. PanicEnsues

    PanicEnsues

    Joined:
    Jul 17, 2014
    Posts:
    178
    [Originally posted in scripting, but this might just be a docs issue]

    The documentation claims you can call CullingGroup.SetBoundingDistances with a second param: "An array of CullingDistanceBehaviour settings". But that appears to be a lie, the method doesn't take a second arg, and "CullingDistanceBehaviour" doesn't seem to be an actual thing in UnityEngine (at least in 2018.4).

    Am I being stupid and missing something here?

    -Scott
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,271
    From my using of the culling groups the documentation is plain wrong. CullingDistanceBehaviour settings do not exist.
     
  3. jo-unity

    jo-unity

    Unity Technologies

    Joined:
    Mar 27, 2019
    Posts:
    32
    Hi - thanks for the spot. You're right that this doesn't exist; we've now removed this from the docs.
     
    fffMalzbier likes this.
  4. PanicEnsues

    PanicEnsues

    Joined:
    Jul 17, 2014
    Posts:
    178