C# Class TreeSegment, Elemental

Inheritance: MonoBehaviour
Show file Open project: CodeStrumpet/Elemental Class Usage Examples

Public Properties

Property Type Description
alphaDecay float
branched bool
enableAlphaDecay bool
enableWidthDecay bool
maxBranchAngle float
maxDepth int
minBranchAngle float
readyToBranch bool
sizeScalar float

Public Methods

Method Description
Awake ( ) : void
Branch ( ) : bool
Init ( int _depthLevel, float _rotateAmount, float _sizeScalar ) : void
OnMouseUp ( ) : 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

Property Details

alphaDecay public property

public float alphaDecay
return float

branched public property

public bool branched
return bool

enableAlphaDecay public property

public bool enableAlphaDecay
return bool

enableWidthDecay public property

public bool enableWidthDecay
return bool

maxBranchAngle public property

public float maxBranchAngle
return float

maxDepth public property

public int maxDepth
return int

minBranchAngle public property

public float minBranchAngle
return float

readyToBranch public property

public bool readyToBranch
return bool

sizeScalar public property

public float sizeScalar
return float