C# Class Chromosome, evosim

ファイルを表示 Open project: clomax/evosim Class Usage Examples

Public Properties

Property Type Description
base_joint_amplitude float
base_joint_frequency float
base_joint_phase float
branches ArrayList
colour Color
hunger_threshold float
limb_colour Color
num_branches int
num_recurrences int[]
root_scale Vector3

Public Methods

Method Description
getBranchCount ( ) : int
getBranches ( ) : ArrayList
getColour ( ) : Color
getLimbColour ( ) : Color
getLimbs ( int index ) : ArrayList
getRootScale ( ) : Vector3
initNumRecurrences ( int n ) : void
setBaseAmplitude ( float amp ) : void
setBaseFequency ( float freq ) : void
setBasePhase ( float phase ) : void
setBranches ( ArrayList bs ) : void
setColour ( float r, float g, float b ) : void
setLimbColour ( float r, float g, float b ) : void
setNumBranches ( int n ) : void
setRootScale ( Vector3 rs ) : void

Method Details

getBranchCount() public method

public getBranchCount ( ) : int
return int

getBranches() public method

public getBranches ( ) : ArrayList
return ArrayList

getColour() public method

public getColour ( ) : Color
return Color

getLimbColour() public method

public getLimbColour ( ) : Color
return Color

getLimbs() public method

public getLimbs ( int index ) : ArrayList
index int
return ArrayList

getRootScale() public method

public getRootScale ( ) : Vector3
return Vector3

initNumRecurrences() public method

public initNumRecurrences ( int n ) : void
n int
return void

setBaseAmplitude() public method

public setBaseAmplitude ( float amp ) : void
amp float
return void

setBaseFequency() public method

public setBaseFequency ( float freq ) : void
freq float
return void

setBasePhase() public method

public setBasePhase ( float phase ) : void
phase float
return void

setBranches() public method

public setBranches ( ArrayList bs ) : void
bs ArrayList
return void

setColour() public method

public setColour ( float r, float g, float b ) : void
r float
g float
b float
return void

setLimbColour() public method

public setLimbColour ( float r, float g, float b ) : void
r float
g float
b float
return void

setNumBranches() public method

public setNumBranches ( int n ) : void
n int
return void

setRootScale() public method

public setRootScale ( Vector3 rs ) : void
rs Vector3
return void

Property Details

base_joint_amplitude public_oe property

public float base_joint_amplitude
return float

base_joint_frequency public_oe property

public float base_joint_frequency
return float

base_joint_phase public_oe property

public float base_joint_phase
return float

branches public_oe property

public ArrayList branches
return ArrayList

colour public_oe property

public Color colour
return Color

hunger_threshold public_oe property

public float hunger_threshold
return float

limb_colour public_oe property

public Color limb_colour
return Color

num_branches public_oe property

public int num_branches
return int

num_recurrences public_oe property

public int[] num_recurrences
return int[]

root_scale public_oe property

public Vector3 root_scale
return Vector3