public class SoSFVec2f extends SoSField
SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoSFVec2f()
Deprecated.
As of Open Inventor 9.3 Use constructor with SoFieldContainer instead.
|
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.
|
long |
getValueSize()
Get size of the 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, appendConnection, connectFrom, connectFrom, connectFrom, disconnect, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getConnectedVRMLInterp, getContainer, getNumConnections, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public SoSFVec2f()
public SoSFVec2f(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbVec2f defaultValue)
public void setValue(float x, float y)
public long getValueSize()
public void setValue(SbVec2f newValue)
public SbVec2f getValue()
public void setValue(SbVec2d vec2d)
public void setValue(float[] xy)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com