All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----dnx.util.DNXObject | +----dnx.lr.Node | +----dnx.lr.SubsidiaryNode | +----dnx.lr.GeometryNode | +----dnx.lr.node.SphereNode
Sphere { field SFFloat radius 1 }
The Sphere node specifies a sphere centered at (0, 0, 0) in the local coordinate system. The radius field specifies the radius of the sphere and must be >= 0.0.
When a texture is applied to a sphere, the texture covers the entire surface, wrapping counterclockwise from the back of the sphere. The texture has a seam at the back where the YZ plane intersects the sphere. TextureTransform affects the texture coordinates of the Sphere.
The Sphere geometry is considered to be solid and thus requires outside faces only. When viewed from the inside the results are undefined.
public SFFloat radius
public SphereNode()
protected void createNodeDefinition(NodeDefinition def)
protected void initFields()
public int sendModelData(Model model)
public boolean pick(PickTraversal traversal, PickDetail detail)
public void recomputeBoundingBox(BoundingBox3 box)
protected boolean boundingBoxHasChanged(Field f)
All Packages Class Hierarchy This Package Previous Next Index