public class ConstSFVec2f extends ConstField
| Constructor and Description |
|---|
ConstSFVec2f(float x,
float y)
Construct a read-only SFVec2f field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
getValue(float[] vec2s)
Get the X and Y values representing the SFVec2f.
|
float |
getX()
Get the X-component of the vector.
|
float |
getY()
Get the Y-component of the vector.
|
clonepublic ConstSFVec2f(float x,
float y)
x - X-componenty - Y-componentpublic void getValue(float[] vec2s)
vec2s - X and Y values representing the SFVec2fpublic float getX()
public float getY()