Properties in webvis#
defaultValue Value with which the property is initialized if nothing is set.
recursive If true, the property value is recursive, which means, that it will be applied to all childNodes too, see Chapter 3.
readOnly The property can only be read, setting another value is not possible.
The following list gives an overview of all properties in webvis:
Property name |
defaultValue |
recursive |
readOnly |
isStorable |
---|---|---|---|---|
children |
[ ] (empty array) |
✖ |
✔ |
✖ |
localTransform |
glMatrix.mat4.create() |
✖ |
✖ |
✔ |
globalTransform |
glMatrix.mat4.create() |
✖ |
✔ |
✖ |
localVolume |
new hare3d.BoxVolume() |
✖ |
✖ |
✖ |
globalVolume |
new hare3d.BoxVolume() |
✖ |
✔ |
✖ |
appearanceURI |
undefined |
✔ |
✖ |
✔ |
enabled |
false |
✔ |
✖ |
✔ |
pickable |
true |
✔ |
✖ |
✔ |
selected |
false |
✔ |
✔ |
✖ |
label |
“no label set” |
✖ |
✖ |
✔ |
depth |
0 |
✖ |
✔ |
✖ |
nodeRepresentation |
NodeRepresentation.ASSEMBLY |
✖ |
✔ |
✖ |
resourceState |
L3DResourceClientState.READY |
✖ |
✔ |
✖ |
hasAuxStructure |
false |
✖ |
✔ |
✖ |
auxEnabled |
false |
✔ |
✖ |
✔ |
renderMode |
RenderMode.Faces |
✔ |
✖ |
✔ |
hidden |
false |
✔ |
✖ |
✔ |
auxContent |
undefined |
✖ |
✔ |
✔ |
auxNodes |
undefined |
✖ |
✔ |
✖ |
activatable |
true |
✖ |
✔ |
✖ |
modelViews |
undefined |
✖ |
✔ |
✖ |
type |
NodeType.STRUCTURE |
✖ |
✔ |
✖ |
subType |
undefined |
✖ |
✔ |
✔ |
attachment |
undefined |
✖ |
✖ |
✔ |
animation |
undefined |
✖ |
✖ |
✔ |