Show / Hide Table of Contents

Class CullingGroup

Inheritance
Object
CullingGroup
Implements
IDisposable
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public class CullingGroup : IDisposable

Constructors

| Improve this Doc View Source

CullingGroup()

Declaration
public CullingGroup()

Properties

enabled

Declaration
public bool enabled { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

onStateChanged

Declaration
public CullingGroup.StateChanged onStateChanged { get; set; }
Property Value
Type Description
CullingGroup.StateChanged

targetCamera

Declaration
public Camera targetCamera { get; set; }
Property Value
Type Description
Camera

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()

EraseSwapBack(Int32)

Declaration
public void EraseSwapBack(int index)
Parameters
Type Name Description
Int32 index
| Improve this Doc View Source

EraseSwapBack<T>(Int32, T[], ref Int32)

Declaration
public static void EraseSwapBack<T>(int index, T[] myArray, ref int size)
Parameters
Type Name Description
Int32 index
T[] myArray
Int32 size
Type Parameters
Name Description
T
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()

GetDistance(Int32)

Declaration
public int GetDistance(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Int32

IsVisible(Int32)

Declaration
public bool IsVisible(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Boolean
| Improve this Doc View Source

QueryIndices(Boolean, Int32, Int32[], Int32)

Declaration
public int QueryIndices(bool visible, int distanceIndex, int[] result, int firstIndex)
Parameters
Type Name Description
Boolean visible
Int32 distanceIndex
Int32[] result
Int32 firstIndex
Returns
Type Description
Int32
| Improve this Doc View Source

QueryIndices(Boolean, Int32[], Int32)

Declaration
public int QueryIndices(bool visible, int[] result, int firstIndex)
Parameters
Type Name Description
Boolean visible
Int32[] result
Int32 firstIndex
Returns
Type Description
Int32
| Improve this Doc View Source

QueryIndices(Int32, Int32[], Int32)

Declaration
public int QueryIndices(int distanceIndex, int[] result, int firstIndex)
Parameters
Type Name Description
Int32 distanceIndex
Int32[] result
Int32 firstIndex
Returns
Type Description
Int32

SetBoundingDistances(Single[])

Declaration
public void SetBoundingDistances(float[] distances)
Parameters
Type Name Description
Single[] distances

SetBoundingSphereCount(Int32)

Declaration
public void SetBoundingSphereCount(int count)
Parameters
Type Name Description
Int32 count

SetBoundingSpheres(BoundingSphere[])

Declaration
public void SetBoundingSpheres(BoundingSphere[] array)
Parameters
Type Name Description
BoundingSphere[] array
| Improve this Doc View Source

SetDistanceReferencePoint(Transform)

Declaration
public void SetDistanceReferencePoint(Transform transform)
Parameters
Type Name Description
Transform transform
| Improve this Doc View Source

SetDistanceReferencePoint(Vector3)

Declaration
public void SetDistanceReferencePoint(Vector3 point)
Parameters
Type Name Description
Vector3 point

Implements

System.IDisposable

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX