C# Class TreeEditor.TreeGroupLeaf

Inheritance: TreeGroup
显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
geometryMode int
horizontalAlign float
instanceMesh UnityEngine.GameObject
materialLeaf UnityEngine.Material
perpendicularAlign float
size Vector2

Private Properties

Property Type Description
CreateBillboardVertex TreeVertex
GetPlaneHullVertices Vector2[]
HasExternalChanges bool
UpdateNodeMesh void

Public Methods

Method Description
BuildAOSpheres ( List aoSpheres ) : void
CanHaveSubGroups ( ) : bool
UpdateMatrix ( ) : void
UpdateMesh ( List materials, List verts, List tris, List aoSpheres, int buildFlags, float adaptiveQuality, float aoDensity ) : void
UpdateParameters ( ) : void

Private Methods

Method Description
CreateBillboardVertex ( TreeNode node, Quaternion billboardRotation, Vector3 normalBase, float normalFix, Vector3 tangentBase, Vector2 uv ) : TreeVertex
GetPlaneHullVertices ( Material mat ) : Vector2[]
HasExternalChanges ( ) : bool
UpdateNodeMesh ( TreeNode node, List materials, List verts, List tris, List aoSpheres, int buildFlags, float adaptiveQuality, float aoDensity ) : void

Method Details

BuildAOSpheres() public method

public BuildAOSpheres ( List aoSpheres ) : void
aoSpheres List
return void

CanHaveSubGroups() public method

public CanHaveSubGroups ( ) : bool
return bool

UpdateMatrix() public method

public UpdateMatrix ( ) : void
return void

UpdateMesh() public method

public UpdateMesh ( List materials, List verts, List tris, List aoSpheres, int buildFlags, float adaptiveQuality, float aoDensity ) : void
materials List
verts List
tris List
aoSpheres List
buildFlags int
adaptiveQuality float
aoDensity float
return void

UpdateParameters() public method

public UpdateParameters ( ) : void
return void

Property Details

geometryMode public_oe property

public int geometryMode
return int

horizontalAlign public_oe property

public float horizontalAlign
return float

instanceMesh public_oe property

public GameObject,UnityEngine instanceMesh
return UnityEngine.GameObject

materialLeaf public_oe property

public Material,UnityEngine materialLeaf
return UnityEngine.Material

perpendicularAlign public_oe property

public float perpendicularAlign
return float

size public_oe property

public Vector2 size
return Vector2