Debian Codegraph @

tools/internal/x3d-nodes-to-pascal/nodes-specification/Core.txt

raw
1 X3DNode {
2 SFNode [in,out] metadata NULL
3 range: X3DMetadataNode
4 not-slim
5 change: chNone
6 }
7
8 X3DBindableNode : X3DChildNode {
9 SFBool [in] set_bind
10 SFTime [out] bindTime
11 not-slim
12 SFBool [out] isBound
13 }
14
15 X3DChildNode : X3DNode {
16 default-container-field: children
17 }
18
19 X3DInfoNode : X3DChildNode {
20 }
21
22 # Note that we change hierarchy from X3D spec:
23 # https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html .
24 # In CGE, X3DMetadataObject descends from X3DNode, unlike in X3D spec.
25 #
26 # This makes things simpler as it makes X3DMetadataObject
27 # a normal class in Pascal (not an interface).
28 # It doesn't change anything in actual capabilities:
29 # following X3D spec, metadata may have metadata too.
30 #
31 # Note that we rename X3DMetadataObject -> X3DMetadataNode, makes it a natural class.
32 #
33 # default-container-field below for this node is actually ignored
34 # when reading / writing X3D. We use instead
35 # TAbstractMetadataNode.DefaultContainerFieldInContext
36 # to account for the fact that X3D 3 and 4 changed it,
37 # see https://github.com/castle-engine/castle-model-viewer/issues/78 .
38
39 X3DMetadataNode : X3DNode {
40 default-container-field: metadata
41 SFString [in,out] name ""
42 change: chNone
43 SFString [in,out] reference ""
44 change: chNone
45 }
46
47 X3DSensorNode : X3DChildNode {
48 SFBool [in,out] enabled TRUE
49 change: chNone
50 SFBool [out] isActive
51 SFString [in,out] description ""
52 change: chNone
53 }
54
55 MetadataBoolean : X3DMetadataNode {
56 MFBool [in,out] value []
57 change: chNone
58 }
59
60 MetadataDouble : X3DMetadataNode {
61 MFDouble [in,out] value []
62 change: chNone
63 }
64
65 MetadataFloat : X3DMetadataNode {
66 MFFloat [in,out] value []
67 change: chNone
68 }
69
70 MetadataInteger : X3DMetadataNode {
71 MFInt32 [in,out] value []
72 change: chNone
73 }
74
75 MetadataSet : X3DMetadataNode {
76 MFNode [in,out] value []
77 range: X3DMetadataNode
78 change: chNone
79 }
80
81 MetadataString : X3DMetadataNode {
82 MFString [in,out] value []
83 change: chNone
84 }
85
86 WorldInfo : X3DInfoNode {
87 MFString [] info []
88 change: chNone
89 SFString [] title ""
90 change: chNone
91 }