Search Unity

CullingGroup.SetBoundingDistances is a myth?

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

  1. PanicEnsues

    PanicEnsues

    Joined:
    Jul 17, 2014
    Posts:
    67
    [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:
    2,810
    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:
    24
    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:
    67