public class BoidSettings extends CFacade
planned for near future typedef struct BoidSignal { struct BoidSignal *next, *prev; float loc[3]; float volume, falloff; int id; } BoidSignal; typedef struct BoidSignalDefine { struct BoidSignalDefine *next, *prev; int id, rt; char name[32]; } BoidSignalDefine;
typedef struct BoidSimulationData { ListBase
signal_defines;// list of defined signals ListBase
signals[20]; // gathers signals from all channels struct KDTree *signaltrees[20]; char channel_names[20][32]; int last_signal_id; // used for incrementing signal ids int flag; // switches for drawing stuff } BoidSimulationData;
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__accuracy
Field descriptor (offset) for struct member 'accuracy'.
|
static long[] |
__DNA__FIELD__aggression
Field descriptor (offset) for struct member 'aggression'.
|
static long[] |
__DNA__FIELD__air_max_acc
Field descriptor (offset) for struct member 'air_max_acc'.
|
static long[] |
__DNA__FIELD__air_max_ave
Field descriptor (offset) for struct member 'air_max_ave'.
|
static long[] |
__DNA__FIELD__air_max_speed
Field descriptor (offset) for struct member 'air_max_speed'.
|
static long[] |
__DNA__FIELD__air_min_speed
Field descriptor (offset) for struct member 'air_min_speed'.
|
static long[] |
__DNA__FIELD__air_personal_space
Field descriptor (offset) for struct member 'air_personal_space'.
|
static long[] |
__DNA__FIELD__banking
Field descriptor (offset) for struct member 'banking'.
|
static long[] |
__DNA__FIELD__health
Field descriptor (offset) for struct member 'health'.
|
static long[] |
__DNA__FIELD__height
Field descriptor (offset) for struct member 'height'.
|
static long[] |
__DNA__FIELD__land_jump_speed
Field descriptor (offset) for struct member 'land_jump_speed'.
|
static long[] |
__DNA__FIELD__land_max_acc
Field descriptor (offset) for struct member 'land_max_acc'.
|
static long[] |
__DNA__FIELD__land_max_ave
Field descriptor (offset) for struct member 'land_max_ave'.
|
static long[] |
__DNA__FIELD__land_max_speed
Field descriptor (offset) for struct member 'land_max_speed'.
|
static long[] |
__DNA__FIELD__land_personal_space
Field descriptor (offset) for struct member 'land_personal_space'.
|
static long[] |
__DNA__FIELD__land_stick_force
Field descriptor (offset) for struct member 'land_stick_force'.
|
static long[] |
__DNA__FIELD__landing_smoothness
Field descriptor (offset) for struct member 'landing_smoothness'.
|
static long[] |
__DNA__FIELD__last_state_id
Field descriptor (offset) for struct member 'last_state_id'.
|
static long[] |
__DNA__FIELD__options
Field descriptor (offset) for struct member 'options'.
|
static long[] |
__DNA__FIELD__pitch
Field descriptor (offset) for struct member 'pitch'.
|
static long[] |
__DNA__FIELD__range
Field descriptor (offset) for struct member 'range'.
|
static long[] |
__DNA__FIELD__states
Field descriptor (offset) for struct member 'states'.
|
static long[] |
__DNA__FIELD__strength
Field descriptor (offset) for struct member 'strength'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct BoidSettings.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BoidSettings(BoidSettings that) |
|
BoidSettings(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<BoidSettings> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getAccuracy()
Get method for struct member 'accuracy'.
|
float |
getAggression()
Get method for struct member 'aggression'.
|
float |
getAir_max_acc()
Get method for struct member 'air_max_acc'.
|
float |
getAir_max_ave()
Get method for struct member 'air_max_ave'.
|
float |
getAir_max_speed()
Get method for struct member 'air_max_speed'.
|
float |
getAir_min_speed()
Get method for struct member 'air_min_speed'.
|
float |
getAir_personal_space()
Get method for struct member 'air_personal_space'.
|
float |
getBanking()
Get method for struct member 'banking'.
|
float |
getHealth()
Get method for struct member 'health'.
|
float |
getHeight()
Get method for struct member 'height'.
|
float |
getLand_jump_speed()
Get method for struct member 'land_jump_speed'.
|
float |
getLand_max_acc()
Get method for struct member 'land_max_acc'.
|
float |
getLand_max_ave()
Get method for struct member 'land_max_ave'.
|
float |
getLand_max_speed()
Get method for struct member 'land_max_speed'.
|
float |
getLand_personal_space()
Get method for struct member 'land_personal_space'.
|
float |
getLand_stick_force()
Get method for struct member 'land_stick_force'.
|
float |
getLanding_smoothness()
Get method for struct member 'landing_smoothness'.
|
int |
getLast_state_id()
Get method for struct member 'last_state_id'.
|
int |
getOptions()
Get method for struct member 'options'.
|
float |
getPitch()
Get method for struct member 'pitch'.
|
float |
getRange()
Get method for struct member 'range'.
|
ListBase |
getStates()
Get method for struct member 'states'.
|
float |
getStrength()
Get method for struct member 'strength'.
|
void |
setAccuracy(float accuracy)
Set method for struct member 'accuracy'.
|
void |
setAggression(float aggression)
Set method for struct member 'aggression'.
|
void |
setAir_max_acc(float air_max_acc)
Set method for struct member 'air_max_acc'.
|
void |
setAir_max_ave(float air_max_ave)
Set method for struct member 'air_max_ave'.
|
void |
setAir_max_speed(float air_max_speed)
Set method for struct member 'air_max_speed'.
|
void |
setAir_min_speed(float air_min_speed)
Set method for struct member 'air_min_speed'.
|
void |
setAir_personal_space(float air_personal_space)
Set method for struct member 'air_personal_space'.
|
void |
setBanking(float banking)
Set method for struct member 'banking'.
|
void |
setHealth(float health)
Set method for struct member 'health'.
|
void |
setHeight(float height)
Set method for struct member 'height'.
|
void |
setLand_jump_speed(float land_jump_speed)
Set method for struct member 'land_jump_speed'.
|
void |
setLand_max_acc(float land_max_acc)
Set method for struct member 'land_max_acc'.
|
void |
setLand_max_ave(float land_max_ave)
Set method for struct member 'land_max_ave'.
|
void |
setLand_max_speed(float land_max_speed)
Set method for struct member 'land_max_speed'.
|
void |
setLand_personal_space(float land_personal_space)
Set method for struct member 'land_personal_space'.
|
void |
setLand_stick_force(float land_stick_force)
Set method for struct member 'land_stick_force'.
|
void |
setLanding_smoothness(float landing_smoothness)
Set method for struct member 'landing_smoothness'.
|
void |
setLast_state_id(int last_state_id)
Set method for struct member 'last_state_id'.
|
void |
setOptions(int options)
Set method for struct member 'options'.
|
void |
setPitch(float pitch)
Set method for struct member 'pitch'.
|
void |
setRange(float range)
Set method for struct member 'range'.
|
void |
setStates(ListBase states)
Set method for struct member 'states'.
|
void |
setStrength(float strength)
Set method for struct member 'strength'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for BoidSettings.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__options
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__options); CPointer<Integer> p_options = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__last_state_id
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__last_state_id); CPointer<Integer> p_last_state_id = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__landing_smoothness
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__landing_smoothness); CPointer<Float> p_landing_smoothness = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__height
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__height); CPointer<Float> p_height = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__banking
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__banking); CPointer<Float> p_banking = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__pitch
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__pitch); CPointer<Float> p_pitch = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__health
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__health); CPointer<Float> p_health = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__aggression
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__aggression); CPointer<Float> p_aggression = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__strength
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__strength); CPointer<Float> p_strength = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__accuracy
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__accuracy); CPointer<Float> p_accuracy = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__range
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__range); CPointer<Float> p_range = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__air_min_speed
flying related
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__air_min_speed); CPointer<Float> p_air_min_speed = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__air_max_speed
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__air_max_speed); CPointer<Float> p_air_max_speed = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__air_max_acc
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__air_max_acc); CPointer<Float> p_air_max_acc = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__air_max_ave
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__air_max_ave); CPointer<Float> p_air_max_ave = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__air_personal_space
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__air_personal_space); CPointer<Float> p_air_personal_space = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__land_jump_speed
walk/run related
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__land_jump_speed); CPointer<Float> p_land_jump_speed = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__land_max_speed
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__land_max_speed); CPointer<Float> p_land_max_speed = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__land_max_acc
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__land_max_acc); CPointer<Float> p_land_max_acc = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__land_max_ave
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__land_max_ave); CPointer<Float> p_land_max_ave = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__land_personal_space
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__land_personal_space); CPointer<Float> p_land_personal_space = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__land_stick_force
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__land_stick_force); CPointer<Float> p_land_stick_force = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__states
This is how you get a reference on the corresponding field in the struct:
BoidSettings boidsettings = ...; CPointer<Object> p = boidsettings.__dna__addressof(BoidSettings.__DNA__FIELD__states); CPointer<ListBase> p_states = p.cast(new Class[]{ListBase.class});
public BoidSettings(long __address, Block __block, BlockTable __blockTable)
protected BoidSettings(BoidSettings that)
public int getOptions() throws java.io.IOException
java.io.IOException
__DNA__FIELD__options
public void setOptions(int options) throws java.io.IOException
java.io.IOException
__DNA__FIELD__options
public int getLast_state_id() throws java.io.IOException
java.io.IOException
__DNA__FIELD__last_state_id
public void setLast_state_id(int last_state_id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__last_state_id
public float getLanding_smoothness() throws java.io.IOException
java.io.IOException
__DNA__FIELD__landing_smoothness
public void setLanding_smoothness(float landing_smoothness) throws java.io.IOException
java.io.IOException
__DNA__FIELD__landing_smoothness
public float getHeight() throws java.io.IOException
java.io.IOException
__DNA__FIELD__height
public void setHeight(float height) throws java.io.IOException
java.io.IOException
__DNA__FIELD__height
public float getBanking() throws java.io.IOException
java.io.IOException
__DNA__FIELD__banking
public void setBanking(float banking) throws java.io.IOException
java.io.IOException
__DNA__FIELD__banking
public float getPitch() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pitch
public void setPitch(float pitch) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pitch
public float getHealth() throws java.io.IOException
java.io.IOException
__DNA__FIELD__health
public void setHealth(float health) throws java.io.IOException
java.io.IOException
__DNA__FIELD__health
public float getAggression() throws java.io.IOException
java.io.IOException
__DNA__FIELD__aggression
public void setAggression(float aggression) throws java.io.IOException
java.io.IOException
__DNA__FIELD__aggression
public float getStrength() throws java.io.IOException
java.io.IOException
__DNA__FIELD__strength
public void setStrength(float strength) throws java.io.IOException
java.io.IOException
__DNA__FIELD__strength
public float getAccuracy() throws java.io.IOException
java.io.IOException
__DNA__FIELD__accuracy
public void setAccuracy(float accuracy) throws java.io.IOException
java.io.IOException
__DNA__FIELD__accuracy
public float getRange() throws java.io.IOException
java.io.IOException
__DNA__FIELD__range
public void setRange(float range) throws java.io.IOException
java.io.IOException
__DNA__FIELD__range
public float getAir_min_speed() throws java.io.IOException
flying related
java.io.IOException
__DNA__FIELD__air_min_speed
public void setAir_min_speed(float air_min_speed) throws java.io.IOException
flying related
java.io.IOException
__DNA__FIELD__air_min_speed
public float getAir_max_speed() throws java.io.IOException
java.io.IOException
__DNA__FIELD__air_max_speed
public void setAir_max_speed(float air_max_speed) throws java.io.IOException
java.io.IOException
__DNA__FIELD__air_max_speed
public float getAir_max_acc() throws java.io.IOException
java.io.IOException
__DNA__FIELD__air_max_acc
public void setAir_max_acc(float air_max_acc) throws java.io.IOException
java.io.IOException
__DNA__FIELD__air_max_acc
public float getAir_max_ave() throws java.io.IOException
java.io.IOException
__DNA__FIELD__air_max_ave
public void setAir_max_ave(float air_max_ave) throws java.io.IOException
java.io.IOException
__DNA__FIELD__air_max_ave
public float getAir_personal_space() throws java.io.IOException
java.io.IOException
__DNA__FIELD__air_personal_space
public void setAir_personal_space(float air_personal_space) throws java.io.IOException
java.io.IOException
__DNA__FIELD__air_personal_space
public float getLand_jump_speed() throws java.io.IOException
walk/run related
java.io.IOException
__DNA__FIELD__land_jump_speed
public void setLand_jump_speed(float land_jump_speed) throws java.io.IOException
walk/run related
java.io.IOException
__DNA__FIELD__land_jump_speed
public float getLand_max_speed() throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_max_speed
public void setLand_max_speed(float land_max_speed) throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_max_speed
public float getLand_max_acc() throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_max_acc
public void setLand_max_acc(float land_max_acc) throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_max_acc
public float getLand_max_ave() throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_max_ave
public void setLand_max_ave(float land_max_ave) throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_max_ave
public float getLand_personal_space() throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_personal_space
public void setLand_personal_space(float land_personal_space) throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_personal_space
public float getLand_stick_force() throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_stick_force
public void setLand_stick_force(float land_stick_force) throws java.io.IOException
java.io.IOException
__DNA__FIELD__land_stick_force
public ListBase getStates() throws java.io.IOException
java.io.IOException
__DNA__FIELD__states
public void setStates(ListBase states) throws java.io.IOException
java.io.IOException
__DNA__FIELD__states
public CPointer<BoidSettings> __io__addressof()