PointMode
The point mode contains the parameters that are specifically set for points. It supports additional geometric characteristics of points, and can be used to render particles or tiny light sources.
Inheritance
Code
XML encoding
<PointMode size='1' smooth='FALSE' minSize='-1' maxSize='-1' constantAttenuation='1' linearAttenuation='0' quadraticAttenuation='0' fadeThreshold='0' sprite='FALSE' rMode='auto' logFeature='' />
Classic encoding
PointMode { size 1 smooth FALSE minSize -1 maxSize -1 constantAttenuation 1 linearAttenuation 0 quadraticAttenuation 0 fadeThreshold 0 sprite FALSE rMode "auto" logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
smooth | SFBool | inputOutput | FALSE | Defines if antialiasing is used. | ||
sprite | SFBool | inputOutput | FALSE | Flag to enable point sprites. | ||
constantAttenuation | SFFloat | inputOutput | 1 | The point size's constant attenuation. | ||
fadeThreshold | SFFloat | inputOutput | 0 | Transparency can be increased if the point area shrinks below this theshold. | ||
linearAttenuation | SFFloat | inputOutput | 0 | The point size's linear attenuation. | ||
maxSize | SFFloat | inputOutput | -1 | Maximum point size for attenuation. | ||
minSize | SFFloat | inputOutput | -1 | Minimum point size for distance attenuation, less than 0 for disabling it. | ||
quadraticAttenuation | SFFloat | inputOutput | 0 | The point size's quadratic attenuation. | ||
size | SFFloat | inputOutput | 1 | The point's size in pixel. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
rMode | SFString | inputOutput | auto | [zero, s, r] | Parameter to generate the R coordinate for point sprites; the R coordinate caneither be zero, the input S coordinate, or the input R coordinate. |