Class CullingGroup
Assembly: UnityEngine.dll
Syntax
public class CullingGroup : IDisposable
Constructors
|
Improve this Doc
View Source
CullingGroup()
Declaration
Properties
enabled
Declaration
public bool enabled { get; set; }
Property Value
|
Improve this Doc
View Source
onStateChanged
Declaration
public CullingGroup.StateChanged onStateChanged { get; set; }
Property Value
targetCamera
Declaration
public Camera targetCamera { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
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
|
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
IsVisible(Int32)
Declaration
public bool IsVisible(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
QueryIndices(Boolean, Int32, Int32[], Int32)
Declaration
public int QueryIndices(bool visible, int distanceIndex, int[] result, int firstIndex)
Parameters
Returns
|
Improve this Doc
View Source
QueryIndices(Boolean, Int32[], Int32)
Declaration
public int QueryIndices(bool visible, int[] result, int firstIndex)
Parameters
Returns
|
Improve this Doc
View Source
QueryIndices(Int32, Int32[], Int32)
Declaration
public int QueryIndices(int distanceIndex, int[] result, int firstIndex)
Parameters
Returns
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
|
Improve this Doc
View Source
Declaration
public void SetDistanceReferencePoint(Transform transform)
Parameters
|
Improve this Doc
View Source
SetDistanceReferencePoint(Vector3)
Declaration
public void SetDistanceReferencePoint(Vector3 point)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
Implements
Extension Methods