C# Class ProceduralTreeSegment, Elemental

Inheritance: MonoBehaviour
Afficher le fichier Open project: CodeStrumpet/Elemental Class Usage Examples

Méthodes publiques

Свойство Type Description
branchLoc Vector3
maxBranchAngle float
maxDepth int
minBranchAngle float
noBranchOnEndNode bool
readyToBranch bool
sizeScalar float
verbose bool

Méthodes publiques

Méthode Description
Awake ( ) : void
Branch ( ) : bool
Init ( int _depthLevel, float _rotateAmount, float _sizeScalar ) : void
OnMouseUp ( ) : void
markBranchPoint ( ) : void

Private Methods

Méthode Description
GetBranchLoc ( ) : Vector3
setHasGrowthBehavior ( ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

Branch() public méthode

public Branch ( ) : bool
Résultat bool

Init() public méthode

public Init ( int _depthLevel, float _rotateAmount, float _sizeScalar ) : void
_depthLevel int
_rotateAmount float
_sizeScalar float
Résultat void

OnMouseUp() public méthode

public OnMouseUp ( ) : void
Résultat void

markBranchPoint() public méthode

public markBranchPoint ( ) : void
Résultat void

Property Details

branchLoc public_oe property

public Vector3 branchLoc
Résultat Vector3

maxBranchAngle public_oe property

public float maxBranchAngle
Résultat float

maxDepth public_oe property

public int maxDepth
Résultat int

minBranchAngle public_oe property

public float minBranchAngle
Résultat float

noBranchOnEndNode public_oe property

public bool noBranchOnEndNode
Résultat bool

readyToBranch public_oe property

public bool readyToBranch
Résultat bool

sizeScalar public_oe property

public float sizeScalar
Résultat float

verbose public_oe property

public bool verbose
Résultat bool