Class LODGroup
Assembly: UnityEngine.dll
Syntax
public class LODGroup : Component
Properties
animateCrossFading
Declaration
public bool animateCrossFading { get; set; }
Property Value
crossFadeAnimationDuration
Declaration
public static float crossFadeAnimationDuration { get; set; }
Property Value
enabled
Declaration
public bool enabled { get; set; }
Property Value
fadeMode
Declaration
public LODFadeMode fadeMode { get; set; }
Property Value
localReferencePoint
Declaration
public Vector3 localReferencePoint { get; set; }
Property Value
lodCount
Declaration
public int lodCount { get; }
Property Value
size
Declaration
public float size { get; set; }
Property Value
Methods
ForceLOD(Int32)
Declaration
public void ForceLOD(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
GetLODs()
Declaration
Returns
RecalculateBounds()
Declaration
public void RecalculateBounds()
SetLODs(LOD[])
Declaration
public void SetLODs(LOD[] lods)
Parameters
Type |
Name |
Description |
LOD[] |
lods |
|
|
Improve this Doc
View Source
SetLODS(LOD[])
Declaration
[Obsolete("Use SetLODs instead.")]
public void SetLODS(LOD[] lods)
Parameters
Type |
Name |
Description |
LOD[] |
lods |
|
Extension Methods