public interface MFVec4f extends MField
| Modifier and Type | Method and Description |
|---|---|
void |
append(float[] newValue)
Places a new value at the end of the existing value array, increasing the field length accordingly.
|
void |
get1Value(int index,
float[] valueDestination)
Get an individual value from the existing field array.
|
void |
getValue(float[] valueDestination)
Write out the current value of this field into the external valueDestination array.
|
void |
getValue(float[][] valueDestination)
Write out the current value of this field into the external valueDestination array.
|
void |
insertValue(int index,
float[] newValue)
Insert a new value prior to the index location in the existing value array, increasing the field length accordingly.
|
void |
set1Value(int index,
float[] newValue)
Replace a single value at the appropriate location in the existing value array.
|
void |
setValue(int size,
float[] newValue)
Assign an array subset to this field.
|
void |
setValue(int size,
float[][] newValue)
Assign an array subset to this field.
|
addX3DEventListener, getDefinition, isReadable, isWritable, removeX3DEventListenervoid getValue(float[][] valueDestination)
valueDestination - The array to be filled in with current field values.java.lang.ArrayIndexOutOfBoundsException - The provided valueDestination array was too small.void getValue(float[] valueDestination)
valueDestination - The array to be filled in with current field values.java.lang.ArrayIndexOutOfBoundsException - The provided valueDestination array was too small.void get1Value(int index,
float[] valueDestination)
Get an individual value from the existing field array.
If the index is outside the bounds of the current array of data values, an ArrayIndexOutOfBoundsException is thrown.
index - is position of selected value in current arrayvalueDestination - The array to be filled in with the selected current field value.java.lang.ArrayIndexOutOfBoundsException - The index was outside of the bounds of the current array.void setValue(int size,
float[] newValue)
size - indicates size of result to copy (i.e. the number of typed singleton values) from beginning of newValue array.newValue - The replacement value array to (potentially) slice and then assign.void setValue(int size,
float[][] newValue)
size - indicates size of result to copy (i.e. the number of typed singleton values) from beginning of newValue array.newValue - The replacement value array to (potentially) slice and then assign.void set1Value(int index,
float[] newValue)
index - is position of selected value in current arraynewValue - provides new value to applyvoid append(float[] newValue)
newValue - The newValue to appendvoid insertValue(int index,
float[] newValue)
index - The position for the inserted value in the current arraynewValue - The newValue to insertCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.