Uses of Class
org.web3d.x3d.jsail.fields.SFColor
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.
Nodes in the Environmental effects component support the creation of realistic environmental effects such as panoramic backgrounds and fog.
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.
Interpolator nodes provide keyframe-based animation capability.
The Lighting component specifies how light sources are defined and positioned, as well as how lights effect the rendered image.
The Rendering component includes fundamental rendering primitives such as TriangleSet and PointSet nodes, as well as geometric properties nodes that define how coordinate indices, colors, normals and texture coordinates are specified.
The Shape component defines nodes for associating geometry with their visible properties and the scene environment.
TextureProjection nodes project texture images onto geometry in a scene.
The Texturing component specifies how 2D texture images are defined and then positioned on associated geometry.
-
Uses of SFColor in org.web3d.x3d.jsail.Core
Modifier and TypeMethodDescriptionfield.getValueSFColor()
If type matches, then get typed value of a SFColor field declaration.fieldValue.getValueSFColor()
If type matches, then get typed value of a SFColor fieldValue declaration.Modifier and TypeMethodDescriptionfield.appendValue
(SFColor newValue) Append SFColor to field for value attribute.fieldValue.appendValue
(SFColor newValue) Append SFColor to fieldValue for value attribute.Set typed value of a SFColor field declaration.Set typed value of a SFColor fieldValue declaration. -
Uses of SFColor in org.web3d.x3d.jsail.EnvironmentalEffects
Modifier and TypeMethodDescriptionBackground.addGroundColor
(SFColor newValue) Add singleton SFColor value to MFColor groundColor field.TextureBackground.addGroundColor
(SFColor newValue) Add singleton SFColor value to MFColor groundColor field.Background.addSkyColor
(SFColor newValue) Add singleton SFColor value to MFColor skyColor field.TextureBackground.addSkyColor
(SFColor newValue) Add singleton SFColor value to MFColor skyColor field.Assign typed object value to SFColor color field, similar toFog.setColor(float[])
. // #0.eAssign typed object value to SFColor color field, similar toLocalFog.setColor(float[])
. // #0.e -
Uses of SFColor in org.web3d.x3d.jsail.fields
Modifier and TypeMethodDescriptionSFColor.complementRGB()
Complement all color values in RGB space (i.e. subtract each component from 1).SFColor.normalizeClip()
Ensure all component color values are within range [0-1] by clipping as necessary.SFColor.scaleRGB
(float scaleFactor) Scale all color values in RGB space.SFColor.setValue
(double[] newValue) Assign a new value to this field.SFColor.setValue
(double red, double green, double blue) Assign a new value to this field.SFColor.setValue
(float red, float green, float blue) Assign a new value to this field.SFColor.setValue
(int hexColorValue) Public utility accessor method setting single HTML-style 0xRRGGBB hex value as new value.Apply an SFColor value to this field.SFColor.setValueArray
(float[] newValue) Assign a new array value to this field, pipelined.SFColor.setValueByString
(String newValue) Utility accessor for SFColor 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 SFColor as new array value.Apply an SFColor value to this field. -
Uses of SFColor in org.web3d.x3d.jsail.Followers
Modifier and TypeMethodDescriptionColorChaser.setInitialDestination
(SFColor newValue) Assign typed object value to SFColor initialDestination field, similar toColorChaser.setInitialDestination(float[])
. // #0.eColorDamper.setInitialDestination
(SFColor newValue) Assign typed object value to SFColor initialDestination field, similar toColorDamper.setInitialDestination(float[])
. // #0.eColorChaser.setInitialValue
(SFColor newValue) Assign typed object value to SFColor initialValue field, similar toColorChaser.setInitialValue(float[])
. // #0.eColorDamper.setInitialValue
(SFColor newValue) Assign typed object value to SFColor initialValue field, similar toColorDamper.setInitialValue(float[])
. // #0.e -
Uses of SFColor in org.web3d.x3d.jsail.Interpolation
Modifier and TypeMethodDescriptionColorInterpolator.addKeyValue
(SFColor newValue) Add singleton SFColor value to MFColor keyValue field. -
Uses of SFColor in org.web3d.x3d.jsail.Lighting
Modifier and TypeMethodDescriptionAssign typed object value to SFColor color field, similar toDirectionalLight.setColor(float[])
. // #0.eAssign typed object value to SFColor color field, similar toPointLight.setColor(float[])
. // #0.eAssign typed object value to SFColor color field, similar toSpotLight.setColor(float[])
. // #0.e -
Uses of SFColor in org.web3d.x3d.jsail.Rendering
-
Uses of SFColor in org.web3d.x3d.jsail.Shape
Modifier and TypeMethodDescriptionTwoSidedMaterial.setBackDiffuseColor
(SFColor newValue) Assign typed object value to SFColor backDiffuseColor field, similar toTwoSidedMaterial.setBackDiffuseColor(float[])
. // #0.eTwoSidedMaterial.setBackEmissiveColor
(SFColor newValue) Assign typed object value to SFColor backEmissiveColor field, similar toTwoSidedMaterial.setBackEmissiveColor(float[])
. // #0.eTwoSidedMaterial.setBackSpecularColor
(SFColor newValue) Assign typed object value to SFColor backSpecularColor field, similar toTwoSidedMaterial.setBackSpecularColor(float[])
. // #0.ePhysicalMaterial.setBaseColor
(SFColor newValue) Assign typed object value to SFColor baseColor field, similar toPhysicalMaterial.setBaseColor(float[])
. // #0.eMaterial.setDiffuseColor
(SFColor newValue) Assign typed object value to SFColor diffuseColor field, similar toMaterial.setDiffuseColor(float[])
. // #0.eTwoSidedMaterial.setDiffuseColor
(SFColor newValue) Assign typed object value to SFColor diffuseColor field, similar toTwoSidedMaterial.setDiffuseColor(float[])
. // #0.eMaterial.setEmissiveColor
(SFColor newValue) Assign typed object value to SFColor emissiveColor field, similar toMaterial.setEmissiveColor(float[])
. // #0.ePhysicalMaterial.setEmissiveColor
(SFColor newValue) Assign typed object value to SFColor emissiveColor field, similar toPhysicalMaterial.setEmissiveColor(float[])
. // #0.eTwoSidedMaterial.setEmissiveColor
(SFColor newValue) Assign typed object value to SFColor emissiveColor field, similar toTwoSidedMaterial.setEmissiveColor(float[])
. // #0.eUnlitMaterial.setEmissiveColor
(SFColor newValue) Assign typed object value to SFColor emissiveColor field, similar toUnlitMaterial.setEmissiveColor(float[])
. // #0.eFillProperties.setHatchColor
(SFColor newValue) Assign typed object value to SFColor hatchColor field, similar toFillProperties.setHatchColor(float[])
. // #0.eMaterial.setSpecularColor
(SFColor newValue) Assign typed object value to SFColor specularColor field, similar toMaterial.setSpecularColor(float[])
. // #0.eTwoSidedMaterial.setSpecularColor
(SFColor newValue) Assign typed object value to SFColor specularColor field, similar toTwoSidedMaterial.setSpecularColor(float[])
. // #0.e -
Uses of SFColor in org.web3d.x3d.jsail.TextureProjection
Modifier and TypeMethodDescriptionAssign typed object value to SFColor color field, similar toTextureProjector.setColor(float[])
. // #0.eAssign typed object value to SFColor color field, similar toTextureProjectorParallel.setColor(float[])
. // #0.e -
Uses of SFColor in org.web3d.x3d.jsail.Texturing
Modifier and TypeMethodDescriptionAssign typed object value to SFColor color field, similar toMultiTexture.setColor(float[])
. // #0.e