Debian Codegraph @

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

raw
1 MatrixTransform : X3DGroupingNode {
2 SFMatrix4f [in,out] matrix identity
3 }
4
5 CommonSurfaceShader : X3DShaderNode {
6 default-container-field: shaders
7
8 SFFloat [in,out] alphaFactor 1
9 SFInt32 [in,out] alphaTextureId -1
10 SFInt32 [in,out] alphaTextureCoordinatesId 0
11 SFString [in,out] alphaTextureChannelMask "a"
12 SFNode [in,out] alphaTexture NULL
13 range: X3DTextureNode
14
15 SFVec3f [in,out] ambientFactor 0.2 0.2 0.2
16 SFInt32 [in,out] ambientTextureId -1
17 SFInt32 [in,out] ambientTextureCoordinatesId 0
18 SFString [in,out] ambientTextureChannelMask "rgb"
19 SFNode [in,out] ambientTexture NULL
20 range: X3DTextureNode
21
22 SFVec3f [in,out] diffuseFactor 0.8 0.8 0.8
23 SFInt32 [in,out] diffuseTextureId -1
24 SFInt32 [in,out] diffuseTextureCoordinatesId 0
25 SFString [in,out] diffuseTextureChannelMask "rgb"
26 SFNode [in,out] diffuseTexture NULL
27 range: X3DTextureNode
28 doc: The texture controlling the diffuse color, multiplied by @link(DiffuseFactor).
29
30 # Added in X3DOM
31 SFNode [in,out] diffuseDisplacementTexture NULL
32 range: X3DTextureNode
33
34 # Added in X3DOM
35 SFString [in,out] displacementAxis "y"
36 SFFloat [in,out] displacementFactor 255.0
37 SFInt32 [in,out] displacementTextureId -1
38 SFInt32 [in,out] displacementTextureCoordinatesId 0
39 SFNode [in,out] displacementTexture NULL
40 range: X3DTextureNode
41
42 SFVec3f [in,out] emissiveFactor 0 0 0
43 SFInt32 [in,out] emissiveTextureId -1
44 SFInt32 [in,out] emissiveTextureCoordinatesId 0
45 SFString [in,out] emissiveTextureChannelMask "rgb"
46 SFNode [in,out] emissiveTexture NULL
47 range: X3DTextureNode
48
49 SFVec3f [in,out] environmentFactor 1 1 1
50 SFInt32 [in,out] environmentTextureId -1
51 SFInt32 [in,out] environmentTextureCoordinatesId 0
52 SFString [in,out] environmentTextureChannelMask "rgb"
53 SFNode [in,out] environmentTexture NULL
54 range: X3DEnvironmentTextureNode
55
56 # Added in X3DOM
57 SFNode [in,out] multiDiffuseAlphaTexture NULL
58 range: X3DTextureNode
59 doc: The texture controlling the diffuse (rgb) and alpha (alpha channel). Diffuse color is multiplied by @link(DiffuseFactor), alpha is (or rather: should be) multiplied by @link(AlphaFactor).
60 SFNode [in,out] multiEmmisiveAmbientIntensityTexture NULL
61 range: X3DTextureNode
62 SFNode [in,out] multiSpecularShininessTexture NULL
63 range: X3DTextureNode
64 SFNode [in,out] multiVisibilityTexture NULL
65 range: X3DTextureNode
66
67 # Note that we don't expose normalFormat, normalSpace as enumerated type.
68 # That's because
69 # - these fields are ignored
70 # - I don't want CGE devs
71 # to think that we support (or plan to support)
72 # other normalmap formats / space, when we don't (because tangent space
73 # is so standard).
74 # - CommonSurfaceShader is deprecated now, so I don't want to add extra enum
75 # types to support it.
76
77 SFString [in,out] normalFormat "UNORM"
78 #range: ["UNORM"]
79 SFString [in,out] normalSpace "TANGENT"
80 #range: ["TANGENT"]
81
82 SFInt32 [in,out] normalTextureId -1
83 SFInt32 [in,out] normalTextureCoordinatesId 0
84 SFString [in,out] normalTextureChannelMask "rgb"
85 SFVec3f [] normalScale 2 2 2
86 SFVec3f [] normalBias -1 -1 -1
87 SFNode [in,out] normalTexture NULL
88 range: X3DTextureNode
89 doc: Normalmap for bump mapping (the texture controlling the normals).
90
91 # Added in Castle Game Engine
92 SFFloat [in,out] normalTextureParallaxHeight 0
93
94 SFVec3f [in,out] reflectionFactor 0 0 0
95 SFInt32 [in,out] reflectionTextureId -1
96 SFInt32 [in,out] reflectionTextureCoordinatesId 0
97 SFString [in,out] reflectionTextureChannelMask "rgb"
98 SFNode [in,out] reflectionTexture NULL
99 range: X3DTextureNode
100
101 SFFloat [in,out] shininessFactor 0.2
102 SFInt32 [in,out] shininessTextureId -1
103 SFInt32 [in,out] shininessTextureCoordinatesId 0
104 SFString [in,out] shininessTextureChannelMask "a"
105 SFNode [in,out] shininessTexture NULL
106 range: X3DTextureNode
107
108 SFVec3f [in,out] specularFactor 0 0 0
109 SFInt32 [in,out] specularTextureId -1
110 SFInt32 [in,out] specularTextureCoordinatesId 0
111 SFString [in,out] specularTextureChannelMask "rgb"
112 SFNode [in,out] specularTexture NULL
113 range: X3DTextureNode
114
115 SFVec3f [in,out] transmissionFactor 0 0 0
116 SFInt32 [in,out] transmissionTextureId -1
117 SFInt32 [in,out] transmissionTextureCoordinatesId 0
118 SFString [in,out] transmissionTextureChannelMask "rgb"
119 SFNode [in,out] transmissionTexture NULL
120 range: X3DTextureNode
121
122 # Additional fields (not in alphabetical order)
123
124 # Affects how normal maps work
125 SFInt32 [in,out] tangentTextureCoordinatesId -1
126 SFInt32 [in,out] binormalTextureCoordinatesId -1
127
128 # Affects how alphaTexture contents are treated
129 SFBool [in,out] invertAlphaTexture FALSE
130
131 SFFloat [in,out] relativeIndexOfRefraction 1
132
133 SFFloat [in,out] fresnelBlend 0
134
135 MFBool [] textureTransformEnabled [false, false, false, false, false, false, false, false]
136 }
137
138 ImageBackground : X3DBackgroundNode {
139 SFColorRGBA [in,out] color 1 1 1 1
140 doc: Color that is multiplied by the texture color. Opaque white by default. Note that the alpha component of this color matters (just like the alpha channel of the texture in @link(Texture)). If the resulting image is partially-transparent, it will be mixed with black underneath.
141 SFNode [in,out] texture NULL
142 range: X3DTextureNode
143 doc: Texture displayed in a full-screen quad. Only 2D single-texture nodes are supported now. If you leave this as @nil, the TImageBackgroundNode has no visible effect.
144 MFVec2f [in,out] texCoords [ Vector2(0, 0), Vector2(1, 0), Vector2(1, 1), Vector2(0, 1) ]
145 doc: Texture coordinates of the full-screen quad. By default they use the whole texture area: @orderedList( @item(Vector2(0, 0),) @item(Vector2(1, 0),) @item(Vector2(1, 1),) @item(Vector2(0, 1)) ) It is undefined what happens if there are not exactly 4 items.
146 }
147
148 Plane : X3DGeometryNode {
149 SFVec2f [] size 2 2
150 range: (0,Inf)
151 change: chGeometry
152 SFBool [] solid TRUE
153 change: chGeometry
154 }
155
156 Toggler : X3DChildNode {
157 SFBool [in,out] status FALSE
158 change: chNone
159 doc: Stored Boolean value.
160 SFBool [in,out] notStatus TRUE
161 change: chNone
162 doc: Always the negated value of @link(Status). You can set either @link(Status) or @link(NotStatus), changing one changes also the other to keep them being negated values of each other. Also events (like @link(EventToggle)) change both properties.
163 XFAny [in] toggle
164 doc: Send any value to this event (the value is ignored) to toggle @link(Status) between @true and @false.
165 XFAny [in] set
166 doc: Send any value to this event (the value is ignored) to set @link(Status) to @true.
167 XFAny [in] reset
168 doc: Send any value to this event (the value is ignored) to set @link(Status) to @false.
169 SFBool [out] changed
170 doc: Outputs a @true value whenever the @link(Status) changed.
171 SFBool [out] on
172 doc: Outputs a @true value whenever the @link(Status) changed to @true.
173 SFBool [out] off
174 doc: Outputs a @true value whenever the @link(Status) changed to @false.
175 SFBool [in,out] enabled TRUE
176 change: chNone
177 doc: When the node is disabled, input events are ignored (this includes @link(EventToggle), @link(EventSet), @link(EventReset) but also sending new values to @link(Status) and @link(NotStatus)) and output events (@link(EventOn), @link(EventOff), @link(EventChanged)) are never generated.
178 }
179
180 Converter : X3DChildNode {
181 SFBool [in,out] enabled TRUE
182 XFAny [in] in
183 XFAny [out] out
184 }
185
186 # See https://doc.x3dom.org/author/EnvironmentalEffects/Environment.html
187 # Note: We merely guess (not tested) the default-container-field below,
188 # and that all fields are [in,out].
189 Environment : X3DBindableNode {
190 default-container-field: environment
191 SFBool [in,out] enableARC false
192 doc: Experimental: If true ARC adjusts rendering parameters
193 SFBool [in,out] frustumCulling true
194 doc: If TRUE, objects outside the viewing frustum are ignored
195 SFString [in,out] gammaCorrectionDefault "linear"
196 doc: The gamma correction to apply by default, see lighting and gamma tutorial
197 SFBool [in,out] lowPriorityCulling false
198 doc: If TRUE and occlusion culling supported, only threshold fraction of objects, sorted by their screen space coverage, are rendered
199 SFFloat [in,out] lowPriorityFactor -1
200 range: [0,1] or -1
201 doc: Experimenal: Factor of low priority culling for controlling speed-performance trade-off
202 SFFloat [in,out] lowPriorityThreshold 1.0
203 range: [0,1]
204 doc: Only threshold fraction of objects, sorted by their screen space coverage, are rendered
205 SFFloat [in,out] maxFrameRate 62.5
206 range: [1,inf]
207 doc: Experimental: Define maximal target frame-rate for dynamic moments and quality-speed trade-off
208 SFFloat [in,out] minFrameRate 1.0
209 range: [1,inf]
210 doc: Experimental: Define minimal target frame-rate for static moments and quality-speed trade-off
211 SFBool [in,out] occlusionCulling false
212 doc: If TRUE and occlusion culling supported, objects occluding less than the threshold below are ignored
213 SFFloat [in,out] occlusionVisibilityFactor -1
214 range: [0,1] or -1
215 doc: Experimenal: Factor of occlusion culling for controlling speed-performance trade-off
216 SFFloat [in,out] occlusionVisibilityThreshold 0.0
217 range: [0,1]
218 doc: Objects occluding less than the threshold below are ignored
219 SFBool [in,out] shadowExcludeTransparentObjects false
220 doc: Transparent objects like glass do not throw much shadow, enable this IR convenience flag with TRUE
221 SFBool [in,out] smallFeatureCulling false
222 doc: If TRUE, objects smaller than the threshold below are ignored
223 SFFloat [in,out] smallFeatureFactor -1
224 range: [0,1] or -1
225 doc: Experimenal: Factor of small feature culling for controlling speed-performance trade-off
226 SFFloat [in,out] smallFeatureThreshold 1.0
227 doc: Objects smaller than the threshold below are ignored
228 SFBool [in,out] sortTrans true
229 doc: If TRUE, transparent objects are sorted from back to front (allows explicitly disabling sorting)
230 SFBool [in,out] SSAO false
231 doc: Flag to enable Screen Space Ambient Occlusion
232 SFFloat [in,out] SSAOamount 0
233 doc: Value that determines the amount of contribution of SSAO (from 0 to 1)
234 SFFloat [in,out] SSAOblurDepthTreshold 5
235 doc: Value that determines the maximum depth difference for the SSAO blurring pass. Pixels with higher depth difference to the filer kernel center are not incorporated into the average.
236 SFFloat [in,out] SSAOradius 4
237 doc: Value that determines the radius in which the SSAO is sampled in world space
238 SFFloat [in,out] SSAOrandomTextureSize 4
239 doc: Value that determines the size of the random texture used for sparse sampling of SSAO
240 SFBool [in,out] tessellationDetailCulling false
241 doc: If TRUE, shape tesselation is lowered as long as resulting error is lower than threshold
242 SFFloat [in,out] tessellationErrorFactor -1
243 range: [0,1] or -1
244 doc: Experimenal: Factor of tesselation error for controlling speed-performance trade-off
245 SFFloat [in,out] tessellationErrorThreshold 0.0
246 range: [0,1]
247 doc: Shape tesselation is lowered as long as resulting error is lower than threshold
248 SFString [in,out] tonemapping "none"
249 range: ["none",...]
250 enumerated-type: TToneMapping ToneMappingNames tmNone
251 doc: Specifies the used tonemapping operator. Note that X3DOM and Castle Game Engine support a bit different tone mapping options.
252 SFFloat [in,out] userDataFactor -1
253 range: [0,1] or -1
254 doc: Experimenal: Factor of user data for controlling speed-performance trade-off
255 }