Debian Codegraph @

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

raw
1 Box : X3DGeometryNode {
2 SFVec3f [] size 2 2 2
3 range: (0,Inf)
4 change: chGeometry
5 SFBool [] solid TRUE
6 change: chGeometry
7 # CASTLE GAME ENGINE EXTENSIONS:
8 SFBool [] ccw TRUE
9 change: chGeometry
10 SFNode [in,out] texCoord NULL
11 range: TextureCoordinateGenerator, ProjectedTextureCoordinate, MultiGeneratedTextureCoordinate
12 change: chGeometry
13 setter-before: MoveShapeAssociations
14 }
15
16 Cone : X3DGeometryNode {
17 SFBool [] bottom TRUE
18 change: chGeometry
19 SFFloat [] bottomRadius 1
20 range: (0,Inf)
21 change: chGeometry
22 SFFloat [] height 2
23 range: (0,Inf)
24 change: chGeometry
25 SFBool [] side TRUE
26 change: chGeometry
27 SFBool [] solid TRUE
28 change: chGeometry
29 # CASTLE GAME ENGINE EXTENSIONS:
30 SFNode [in,out] texCoord NULL
31 range: TextureCoordinateGenerator, ProjectedTextureCoordinate, MultiGeneratedTextureCoordinate
32 change: chGeometry
33 setter-before: MoveShapeAssociations
34 SFInt32 [in,out] slices 0
35 range: {0} + [3, infinity)
36 change: chGeometry
37 doc: How many "slices" to use to approximate the cone. The cone is rendered using polygons (triangles and quads) that approximate the cone shape. The more slices, the more the cone will look like a cone. Slices divide the objects like slices of a pizza. The default value of 0 means to follow global variable @link(DefaultTriangulationSlices).
38 SFInt32 [in,out] stacks 0
39 range: {0} + [2, infinity)
40 change: chGeometry
41 doc: How many "stacks" to use to approximate the cone. The cone is rendered using polygons (triangles and quads) that approximate the cone shape. The more stacks, the more the cone will look like a cone. Stacks divide the objects like stacks of a tower. The default value of 0 means to follow global variable @link(DefaultTriangulationStacks).
42 }
43
44 Cylinder : X3DGeometryNode {
45 SFBool [] bottom TRUE
46 change: chGeometry
47 SFFloat [] height 2
48 range: (0,Inf)
49 change: chGeometry
50 SFFloat [] radius 1
51 range: (0,Inf)
52 change: chGeometry
53 SFBool [] side TRUE
54 change: chGeometry
55 SFBool [] solid TRUE
56 change: chGeometry
57 SFBool [] top TRUE
58 change: chGeometry
59 # CASTLE GAME ENGINE EXTENSIONS:
60 SFNode [in,out] texCoord NULL
61 range: TextureCoordinateGenerator, ProjectedTextureCoordinate, MultiGeneratedTextureCoordinate
62 change: chGeometry
63 setter-before: MoveShapeAssociations
64 SFInt32 [in,out] slices 0
65 range: {0} + [3, infinity)
66 change: chGeometry
67 doc: How many "slices" to use to approximate the cylinder. The cylinder is rendered using polygons (triangles and quads) that approximate the cylinder shape. The more slices, the more the cylinder will look like a cylinder. Slices divide the objects like slices of a pizza. The default value of 0 means to follow global variable @link(DefaultTriangulationSlices).
68 # Cylinder.stacks removed: pointless for Phong shading.
69 # SFInt32 [in,out] stacks 0
70 # range: {0} + [2, infinity)
71 # change: chGeometry
72 # doc: How many "stacks" to use to approximate the cylinder. The cylinder is rendered using polygons (triangles and quads) that approximate the cylinder shape. The more stacks, the more the cylinder will look like a cylinder. Stacks divide the objects like stacks of a tower. The default value of 0 means to follow global variable @link(DefaultTriangulationStacks).
73 }
74
75 ElevationGrid : X3DGeometryNode {
76 MFFloat [in] set_height
77 change: chGeometry
78 MFNode [in,out] attrib []
79 range: X3DVertexAttributeNode
80 change: chGeometry
81 SFNode [in,out] color NULL
82 range: X3DColorNode
83 change: chGeometry
84 SFNode [in,out] fogCoord NULL
85 range: FogCoordinate
86 change: chGeometry
87 SFNode [in,out] normal NULL
88 range: X3DNormalNode
89 change: chGeometry
90 SFNode [in,out] texCoord NULL
91 range: X3DTextureCoordinateNode
92 change: chGeometry
93 setter-before: MoveShapeAssociations
94 SFBool [] ccw TRUE
95 change: chGeometry
96 SFBool [] colorPerVertex TRUE
97 change: chGeometry
98 SFFloat [] creaseAngle 0
99 range: [0,Inf)
100 change: chGeometry
101 angle
102 MFFloat [] height []
103 range: (-Inf,Inf)
104 change: chGeometry
105 SFBool [] normalPerVertex TRUE
106 change: chGeometry
107 SFBool [] solid TRUE
108 change: chGeometry
109 SFInt32 [] xDimension 0
110 range: [0,Inf)
111 change: chGeometry
112 SFFloat [] xSpacing 1.0
113 range: (0,Inf)
114 change: chGeometry
115 SFInt32 [] zDimension 0
116 range: [0,Inf)
117 change: chGeometry
118 SFFloat [] zSpacing 1.0
119 range: (0,Inf)
120 change: chGeometry
121 }
122
123 Extrusion : X3DGeometryNode {
124 MFVec2f [in] set_crossSection
125 change: chGeometry
126 MFRotation [in] set_orientation
127 change: chGeometry
128 MFVec2f [in] set_scale
129 change: chGeometry
130 MFVec3f [in] set_spine
131 change: chGeometry
132 SFBool [] beginCap TRUE
133 change: chGeometry
134 SFBool [] ccw TRUE
135 change: chGeometry
136 SFBool [] convex TRUE
137 change: chGeometry
138 SFFloat [] creaseAngle 0
139 range: [0,Inf)
140 change: chGeometry
141 angle
142 MFVec2f [] crossSection [ Vector2(1, 1), Vector2(1, -1), Vector2(-1, -1), Vector2(-1, 1), Vector2(1, 1) ]
143 range: (-Inf,Inf)
144 change: chGeometry
145 SFBool [] endCap TRUE
146 change: chGeometry
147 MFRotation [] orientation [ Vector4(0, 0, 1, 0) ]
148 range: [-1,1] or (-Inf,Inf)
149 change: chGeometry
150 MFVec2f [] scale [ Vector2(1, 1) ]
151 range: (0,Inf)
152 change: chGeometry
153 SFBool [] solid TRUE
154 change: chGeometry
155 MFVec3f [] spine [ Vector3(0, 0, 0), Vector3(0, 1, 0) ]
156 range: (-Inf,Inf)
157 change: chGeometry
158
159 # CASTLE GAME ENGINE EXTENSIONS:
160 SFNode [in,out] texCoord NULL
161 range: TextureCoordinateGenerator, ProjectedTextureCoordinate, MultiGeneratedTextureCoordinate
162 change: chGeometry
163 setter-before: MoveShapeAssociations
164 }
165
166 IndexedFaceSet : X3DComposedGeometryNode {
167 MFInt32 [in] set_colorIndex
168 not-slim
169 change: chGeometry
170 MFInt32 [in] set_coordIndex
171 not-slim
172 change: chGeometry
173 MFInt32 [in] set_normalIndex
174 not-slim
175 change: chGeometry
176 MFInt32 [in] set_texCoordIndex
177 not-slim
178 change: chGeometry
179 MFInt32 [] colorIndex []
180 range: [0,Inf) or -1
181 change: chGeometry
182 SFBool [] convex TRUE
183 change: chGeometry
184 MFInt32 [] coordIndex []
185 range: [0,Inf) or -1
186 change: chGeometry
187 SFFloat [] creaseAngle 0
188 range: [0,Inf)
189 change: chGeometry
190 angle
191 MFInt32 [] normalIndex []
192 range: [0,Inf) or -1
193 change: chGeometry
194 MFInt32 [] texCoordIndex []
195 range: [-1,Inf)
196 change: chGeometry
197 }
198
199 Sphere : X3DGeometryNode {
200 SFFloat [] radius 1
201 range: (0,Inf)
202 change: chGeometry
203 SFBool [] solid TRUE
204 change: chGeometry
205 # CASTLE GAME ENGINE EXTENSIONS:
206 SFNode [in,out] texCoord NULL
207 range: TextureCoordinateGenerator, ProjectedTextureCoordinate, MultiGeneratedTextureCoordinate
208 change: chGeometry
209 setter-before: MoveShapeAssociations
210 SFInt32 [in,out] slices 0
211 range: {0} + [3, infinity)
212 change: chGeometry
213 doc: How many "slices" to use to approximate the sphere. The sphere is rendered using polygons (triangles and quads) that approximate the sphere shape. The more slices, the more the sphere will look like a sphere. Slices divide the objects like slices of a pizza. The default value of 0 means to follow global variable @link(DefaultTriangulationSlices).
214 SFInt32 [in,out] stacks 0
215 range: {0} + [2, infinity)
216 change: chGeometry
217 doc: How many "stacks" to use to approximate the sphere. The sphere is rendered using polygons (triangles and quads) that approximate the sphere shape. The more stacks, the more the sphere will look like a sphere. Stacks divide the objects like stacks of a tower. The default value of 0 means to follow global variable @link(DefaultTriangulationStacks).
218 }