C# Class ProceduralTreeSegment, Elemental

Inheritance: MonoBehaviour
Datei anzeigen Open project: CodeStrumpet/Elemental Class Usage Examples

Public Properties

Property Type Description
branchLoc Vector3
maxBranchAngle float
maxDepth int
minBranchAngle float
noBranchOnEndNode bool
readyToBranch bool
sizeScalar float
verbose bool

Public Methods

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

Private Methods

Method Description
GetBranchLoc ( ) : Vector3
setHasGrowthBehavior ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Branch() public method

public Branch ( ) : bool
return bool

Init() public method

public Init ( int _depthLevel, float _rotateAmount, float _sizeScalar ) : void
_depthLevel int
_rotateAmount float
_sizeScalar float
return void

OnMouseUp() public method

public OnMouseUp ( ) : void
return void

markBranchPoint() public method

public markBranchPoint ( ) : void
return void

Property Details

branchLoc public_oe property

public Vector3 branchLoc
return Vector3

maxBranchAngle public_oe property

public float maxBranchAngle
return float

maxDepth public_oe property

public int maxDepth
return int

minBranchAngle public_oe property

public float minBranchAngle
return float

noBranchOnEndNode public_oe property

public bool noBranchOnEndNode
return bool

readyToBranch public_oe property

public bool readyToBranch
return bool

sizeScalar public_oe property

public float sizeScalar
return float

verbose public_oe property

public bool verbose
return bool