public class SoSFVec2f extends SoSField
SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoSFVec2f(SoFieldContainer fieldContainer,
java.lang.String fieldName,
SoField.FieldTypes fieldType,
SbVec2f defaultValue)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
SbVec2f |
getValue()
Returns this field's value.
|
void |
setValue(float[] xy)
Sets the field to the given value.
|
void |
setValue(float x,
float y)
Sets the field to the given value.
|
void |
setValue(SbVec2d vec2d)
Convenience method that allows you to specify a field value using a double precision variable.
|
void |
setValue(SbVec2f newValue)
Sets this field to
newValue.
|
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getContainer, getNumConnections, getValueSize, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
dispose, getNativeResourceHandle
public SoSFVec2f(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbVec2f defaultValue)
public void setValue(float x, float y)
public SbVec2f getValue()
public void setValue(SbVec2f newValue)
public void setValue(SbVec2d vec2d)
public void setValue(float[] xy)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com