Class: PointProperties

X3D: 3.3
Component: Shape
Status:
experimental

.nodeTypes. PointProperties

The PointProperties node specifies additional properties to be applied to all point geometry.

HTML Encoding and Default Values

<PointProperties attenuation='1 0 0' metadata='X3DMetadataObject' pointSizeMaxValue='1' pointSizeMinValue='1' pointSizeScaleFactor='1' ></PointProperties>

Inheritance


Constructor

PointProperties(ctx)

Constructor for PointProperties

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
attenuation SFVec3f 1 0 0 [0, inf] The pointSizeMinValue, pointSizeMaxValue, and pointSizeAttenuation fields specify a depth perception in a point cloud rendering by making points close to the viewer appear larger. The modification of point size depending on distance from the view occurs in two steps, starting with the nominal point size as determined by the pointSizeScaleFactor field.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
pointSizeMaxValue SFFloat 1 [0, inf] pointSizeMaxValue is maximum allowed scaling factor on nominal browser point scaling. The provided value for pointSizeMinValue must be less than or equal to value for pointSizeMaxValue.
pointSizeMinValue SFFloat 1 [0, inf] pointSizeMinValue is minimum allowed scaling factor on nominal browser point scaling. The provided value for pointSizeMinValue must be less than or equal to value for pointSizeMaxValue.
pointSizeScaleFactor SFFloat 1 [1, inf] pointSizeScaleFactor is a value determining the nominal point size before modification by the sizing modifications, as determined by the pointSizeMinValue, pointSizeMaxValue, and pointSizeAttenuation values discussed below. The nominal rendered point size is a browser-dependent minimum renderable point size, multiplied by the pointSizeScaleFactor.