Class TreeGroup
Assembly: UnityEditor.dll
Syntax
[Serializable]
public class TreeGroup
Fields
|
Improve this Doc
View Source
animationEdge
Declaration
public float animationEdge
Field Value
|
Improve this Doc
View Source
animationPrimary
Declaration
public float animationPrimary
Field Value
|
Improve this Doc
View Source
animationSecondary
Declaration
public float animationSecondary
Field Value
|
Improve this Doc
View Source
childGroupIDs
Declaration
public int[] childGroupIDs
Field Value
|
Improve this Doc
View Source
distributionCurve
Declaration
public AnimationCurve distributionCurve
Field Value
|
Improve this Doc
View Source
distributionFrequency
Declaration
public int distributionFrequency
Field Value
|
Improve this Doc
View Source
distributionMode
Declaration
public TreeGroup.DistributionMode distributionMode
Field Value
|
Improve this Doc
View Source
distributionNodes
Declaration
public int distributionNodes
Field Value
|
Improve this Doc
View Source
distributionPitch
Declaration
public float distributionPitch
Field Value
|
Improve this Doc
View Source
distributionPitchCurve
Declaration
public AnimationCurve distributionPitchCurve
Field Value
|
Improve this Doc
View Source
distributionScale
Declaration
public float distributionScale
Field Value
|
Improve this Doc
View Source
distributionScaleCurve
Declaration
public AnimationCurve distributionScaleCurve
Field Value
|
Improve this Doc
View Source
distributionTwirl
Declaration
public float distributionTwirl
Field Value
|
Improve this Doc
View Source
GenerateBendBillboardNormalFactor
Declaration
protected static readonly float GenerateBendBillboardNormalFactor
Field Value
|
Improve this Doc
View Source
GenerateBendNormalFactor
Declaration
protected static readonly float GenerateBendNormalFactor
Field Value
|
Improve this Doc
View Source
GenerateDoubleSidedGeometry
Declaration
protected static readonly bool GenerateDoubleSidedGeometry
Field Value
|
Improve this Doc
View Source
lockFlags
Declaration
Field Value
|
Improve this Doc
View Source
nodeIDs
Declaration
Field Value
|
Improve this Doc
View Source
parentGroupID
Declaration
Field Value
|
Improve this Doc
View Source
seed
Declaration
Field Value
|
Improve this Doc
View Source
showAnimationProps
Declaration
public bool showAnimationProps
Field Value
|
Improve this Doc
View Source
visible
Declaration
Field Value
Properties
|
Improve this Doc
View Source
uniqueID
Declaration
public int uniqueID { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
BuildAOSpheres(List<TreeAOSphere>)
Declaration
public virtual void BuildAOSpheres(List<TreeAOSphere> aoSpheres)
Parameters
|
Improve this Doc
View Source
CanHaveSubGroups()
Declaration
public virtual bool CanHaveSubGroups()
Returns
|
Improve this Doc
View Source
CheckExternalChanges()
Declaration
public bool CheckExternalChanges()
Returns
|
Improve this Doc
View Source
ComputeAmbientOcclusion(Vector3, Vector3, List<TreeAOSphere>, Single)
Declaration
protected static float ComputeAmbientOcclusion(Vector3 pos, Vector3 nor, List<TreeAOSphere> aoSpheres, float aoDensity)
Parameters
Returns
|
Improve this Doc
View Source
ComputeWindFactor(TreeNode, Single)
Declaration
public Vector2 ComputeWindFactor(TreeNode node, float offset)
Parameters
Returns
|
Improve this Doc
View Source
CreateTangent(TreeNode, Quaternion, Vector3)
Declaration
protected static Vector4 CreateTangent(TreeNode node, Quaternion rot, Vector3 normal)
Parameters
Returns
|
Improve this Doc
View Source
GetMaterialIndex(Material, List<TreeMaterial>, Boolean)
Declaration
protected static int GetMaterialIndex(Material m, List<TreeMaterial> materials, bool tileV)
Parameters
Returns
|
Improve this Doc
View Source
GetRadiusAtTime(TreeNode, Single, Boolean)
Declaration
public virtual float GetRadiusAtTime(TreeNode node, float t, bool includeModifications)
Parameters
Returns
|
Improve this Doc
View Source
GetRootMatrix()
Declaration
public Matrix4x4 GetRootMatrix()
Returns
|
Improve this Doc
View Source
GetRootSpread()
Declaration
public float GetRootSpread()
Returns
|
Improve this Doc
View Source
Lock()
Declaration
|
Improve this Doc
View Source
Unlock()
Declaration
|
Improve this Doc
View Source
UpdateDistribution(Boolean, Boolean)
Declaration
public void UpdateDistribution(bool completeUpdate, bool updateSubGroups)
Parameters
|
Improve this Doc
View Source
UpdateFrequency(TreeData)
Declaration
public void UpdateFrequency(TreeData owner)
Parameters
|
Improve this Doc
View Source
UpdateMatrix()
Declaration
public virtual void UpdateMatrix()
|
Improve this Doc
View Source
UpdateMesh(List<TreeMaterial>, List<TreeVertex>, List<TreeTriangle>, List<TreeAOSphere>, Int32, Single, Single)
Declaration
public virtual void UpdateMesh(List<TreeMaterial> materials, List<TreeVertex> verts, List<TreeTriangle> tris, List<TreeAOSphere> aoSpheres, int buildFlags, float adaptiveQuality, float aoDensity)
Parameters
|
Improve this Doc
View Source
UpdateParameters()
Declaration
public virtual void UpdateParameters()
|
Improve this Doc
View Source
UpdateSeed()
Declaration
Extension Methods