C# Class TreeSegment, Elemental

Inheritance: MonoBehaviour
Exibir arquivo 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_oe property

public float alphaDecay
return float

branched public_oe property

public bool branched
return bool

enableAlphaDecay public_oe property

public bool enableAlphaDecay
return bool

enableWidthDecay public_oe property

public bool enableWidthDecay
return bool

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

readyToBranch public_oe property

public bool readyToBranch
return bool

sizeScalar public_oe property

public float sizeScalar
return float