Uses of Class
org.web3d.x3d.jsail.fields.SFVec2f
Package
Description
The Core component supplies the base functionality for the X3D run-time system, including the abstract base node type, field types, the event model, and routing.
The X3D Java fields package provides a
comprehensive set of strongly typed X3D Java classes for
concrete implementation of X3D field types.
The Follower nodes (Chasers and Dampers) support dynamic creation of smooth parameter transitions at run time.
The Geometry2D component defines how two-dimensional geometry is specified and what shapes are available.
The Geometry3D component describes how three-dimensional geometry is specified and defines ElevationGrid, Extrusion, IndexedFaceSet, and most primitive geometry nodes (Box, Cone, Cylinder, Sphere).
Interpolator nodes provide keyframe-based animation capability.
The NURBS component describes Non-uniform Rational B-Spline (NURBS) geometry and interpolation nodes.
The Particle Systems component specifies how to model particles and their interactions through the application of basic physics principles to affect motion.
Pointing device sensor nodes detect pointing events from user-interface devices, defining activities such as a user selecting a piece of geometry.
The Rigid Body Physics component describes how to model rigid bodies and their interactions through the application of basic physics principles to effect motion.
The Texturing component specifies how 2D texture images are defined and then positioned on associated geometry.
-
Uses of SFVec2f in org.web3d.x3d.jsail.Core
Modifier and TypeMethodDescriptionfield.getValueSFVec2f()
If type matches, then get typed value of a SFVec2f field declaration.fieldValue.getValueSFVec2f()
If type matches, then get typed value of a SFVec2f fieldValue declaration.Modifier and TypeMethodDescriptionfield.appendValue
(SFVec2f newValue) Append SFVec2f to field for value attribute.fieldValue.appendValue
(SFVec2f newValue) Append SFVec2f to fieldValue for value attribute.Set typed value of a SFVec2f field declaration.Set typed value of a SFVec2f fieldValue declaration. -
Uses of SFVec2f in org.web3d.x3d.jsail.fields
Modifier and TypeMethodDescriptionSFVec2f.multiply
(float scaleFactor) Multiply scaleFactor times all values in this field type.SFVec2f.normalize()
Utility method to normalize this vector value to unit length, ignore if zero length.SFVec2f.setValue
(double[] newValue) Constructor for SFVec2f using a corresponding Java primitive double[] array as new initial value.SFVec2f.setValue
(double x, double y) Assign a new value to this field.SFVec2f.setValue
(float x, float y) Assign a new value to this field.Apply an SFVec2f value to this field.SFVec2f.setValueArray
(float[] newValue) Assign a new array value to this field, pipelined.SFVec2f.setValueByString
(String newValue) Utility accessor for SFVec2f using String value (which must pass parsing validation checks).Modifier and TypeMethodDescriptionAppends a new singleton typed value at the end of the existing value array, increasing the field length accordingly.boolean
Determine whether two objects contain equal values.Assign a single-field SFVec2f as new array value.Apply an SFVec2f value to this field. -
Uses of SFVec2f in org.web3d.x3d.jsail.Followers
Modifier and TypeMethodDescriptionTexCoordChaser2D.addInitialDestination
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f initialDestination field.TexCoordDamper2D.addInitialDestination
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f initialDestination field.TexCoordChaser2D.addInitialValue
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f initialValue field.TexCoordDamper2D.addInitialValue
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f initialValue field.PositionChaser2D.setInitialDestination
(SFVec2f newValue) Assign typed object value to SFVec2f initialDestination field, similar toPositionChaser2D.setInitialDestination(float[])
.PositionDamper2D.setInitialDestination
(SFVec2f newValue) Assign typed object value to SFVec2f initialDestination field, similar toPositionDamper2D.setInitialDestination(float[])
.PositionChaser2D.setInitialValue
(SFVec2f newValue) Assign typed object value to SFVec2f initialValue field, similar toPositionChaser2D.setInitialValue(float[])
.PositionDamper2D.setInitialValue
(SFVec2f newValue) Assign typed object value to SFVec2f initialValue field, similar toPositionDamper2D.setInitialValue(float[])
. -
Uses of SFVec2f in org.web3d.x3d.jsail.Geometry2D
Modifier and TypeMethodDescriptionPolyline2D.addLineSegments
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f lineSegments field.Add singleton SFVec2f value to MFVec2f point field.TriangleSet2D.addVertices
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f vertices field.Assign typed object value to SFVec2f size field, similar toRectangle2D.setSize(float[])
. -
Uses of SFVec2f in org.web3d.x3d.jsail.Geometry3D
-
Uses of SFVec2f in org.web3d.x3d.jsail.Interpolation
Modifier and TypeMethodDescriptionEaseInEaseOut.addEaseInEaseOut
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f easeInEaseOut field.CoordinateInterpolator2D.addKeyValue
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f keyValue field.PositionInterpolator2D.addKeyValue
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f keyValue field.SplinePositionInterpolator2D.addKeyValue
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f keyValue field.SplinePositionInterpolator2D.addKeyVelocity
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f keyVelocity field. -
Uses of SFVec2f in org.web3d.x3d.jsail.NURBS
Modifier and TypeMethodDescriptionNurbsTextureCoordinate.addControlPoint
(SFVec2f newValue) Add singleton SFVec2f value to MFVec2f controlPoint field. -
Uses of SFVec2f in org.web3d.x3d.jsail.ParticleSystems
Modifier and TypeMethodDescriptionParticleSystem.setParticleSize
(SFVec2f newValue) Assign typed object value to SFVec2f particleSize field, similar toParticleSystem.setParticleSize(float[])
. -
Uses of SFVec2f in org.web3d.x3d.jsail.PointingDeviceSensor
Modifier and TypeMethodDescriptionPlaneSensor.setMaxPosition
(SFVec2f newValue) Assign typed object value to SFVec2f maxPosition field, similar toPlaneSensor.setMaxPosition(float[])
.PlaneSensor.setMinPosition
(SFVec2f newValue) Assign typed object value to SFVec2f minPosition field, similar toPlaneSensor.setMinPosition(float[])
. -
Uses of SFVec2f in org.web3d.x3d.jsail.RigidBodyPhysics
Modifier and TypeMethodDescriptionCollisionCollection.setFrictionCoefficients
(SFVec2f newValue) Assign typed object value to SFVec2f frictionCoefficients field, similar toCollisionCollection.setFrictionCoefficients(float[])
.Contact.setFrictionCoefficients
(SFVec2f newValue) Assign typed object value to SFVec2f frictionCoefficients field, similar toContact.setFrictionCoefficients(float[])
.Contact.setSlipCoefficients
(SFVec2f newValue) Assign typed object value to SFVec2f slipCoefficients field, similar toContact.setSlipCoefficients(float[])
.CollisionCollection.setSlipFactors
(SFVec2f newValue) Assign typed object value to SFVec2f slipFactors field, similar toCollisionCollection.setSlipFactors(float[])
.CollisionCollection.setSurfaceSpeed
(SFVec2f newValue) Assign typed object value to SFVec2f surfaceSpeed field, similar toCollisionCollection.setSurfaceSpeed(float[])
.Contact.setSurfaceSpeed
(SFVec2f newValue) Assign typed object value to SFVec2f surfaceSpeed field, similar toContact.setSurfaceSpeed(float[])
. -
Uses of SFVec2f in org.web3d.x3d.jsail.Texturing
Modifier and TypeMethodDescriptionAdd singleton SFVec2f value to MFVec2f point field.Assign typed object value to SFVec2f center field, similar toTextureTransform.setCenter(float[])
.Assign typed object value to SFVec2f scale field, similar toTextureTransform.setScale(float[])
.TextureTransform.setTranslation
(SFVec2f newValue) Assign typed object value to SFVec2f translation field, similar toTextureTransform.setTranslation(float[])
.