Debian Codegraph @

src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc

raw
1 { -*- buffer-read-only: t -*-
2
3 Copyright 2015-2024 Michalis Kamburelis.
4
5 This file is part of "Castle Game Engine".
6
7 "Castle Game Engine" is free software; see the file COPYING.txt,
8 included in this distribution, for details about the copyright.
9
10 "Castle Game Engine" is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14 ----------------------------------------------------------------------------
15 }
16
17 { Automatically generated node properties.
18
19 Do not edit this file manually!
20 To add new properties:
21 - add them to the text files in tools/internal/x3d-nodes-to-pascal/nodes-specification/ ,
22 - and regenerate include files by running x3d-nodes-to-pascal }
23
24 {$ifdef read_interface}
25
26 strict private
27 function GetCenter: TVector3;
28 procedure SetCenter(const Value: TVector3);
29 function GetDescription: String;
30 procedure SetDescription(const Value: String);
31 function GetLoa: Integer;
32 procedure SetLoa(const Value: Integer);
33 function GetNameField: String;
34 procedure SetNameField(const Value: String);
35 function GetRotation: TVector4;
36 procedure SetRotation(const Value: TVector4);
37 function GetScale: TVector3;
38 procedure SetScale(const Value: TVector3);
39 function GetScaleOrientation: TVector4;
40 procedure SetScaleOrientation(const Value: TVector4);
41 function GetSkeletalConfiguration: String;
42 procedure SetSkeletalConfiguration(const Value: String);
43 function GetSkinBindingCoord: TAbstractCoordinateNode;
44 procedure SetSkinBindingCoord(const Value: TAbstractCoordinateNode);
45 function GetSkinBindingNormal: TAbstractNormalNode;
46 procedure SetSkinBindingNormal(const Value: TAbstractNormalNode);
47 function GetSkinNormal: TAbstractNormalNode;
48 procedure SetSkinNormal(const Value: TAbstractNormalNode);
49 function GetTranslation: TVector3;
50 procedure SetTranslation(const Value: TVector3);
51 function GetVersion: String;
52 procedure SetVersion(const Value: String);
53 function GetBBox: TBox3D;
54 procedure SetBBox(const Value: TBox3D);
55 public
56 { Create node fields and events. }
57 procedure CreateNode; override;
58 class function ClassX3DType: String; override;
59
60 strict private FFdCenter: TSFVec3f;
61 { Internal wrapper for property @code(Center). This wrapper API may change, we advise to access simpler @code(Center) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
62 public property FdCenter: TSFVec3f read FFdCenter;
63 { }
64 property Center: TVector3 read GetCenter write SetCenter;
65
66 strict private FFdDescription: TSFString;
67 { Internal wrapper for property @code(Description). This wrapper API may change, we advise to access simpler @code(Description) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
68 public property FdDescription: TSFString read FFdDescription;
69 { }
70 property Description: String read GetDescription write SetDescription;
71
72 strict private FFdInfo: TMFString;
73 { Internal wrapper for property @code(Info). This wrapper API may change, we advise to access simpler @code(Info) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
74 public property FdInfo: TMFString read FFdInfo;
75 { }
76 procedure SetInfo(const Value: array of string); overload;
77 { }
78 procedure SetInfo(const Value: TCastleStringList); overload;
79
80 strict private FFdJoints: TMFNode;
81 { Internal wrapper for property @code(Joints). This wrapper API may change, we advise to access simpler @code(Joints) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
82 public property FdJoints: TMFNode read FFdJoints;
83 { }
84 procedure SetJoints(const Value: array of THAnimJointNode);
85
86 strict private FFdJointBindingPositions: TMFVec3f;
87 { Internal wrapper for property @code(JointBindingPositions). This wrapper API may change, we advise to access simpler @code(JointBindingPositions) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
88 public property FdJointBindingPositions: TMFVec3f read FFdJointBindingPositions;
89 { }
90 procedure SetJointBindingPositions(const Value: array of TVector3); overload;
91 { }
92 procedure SetJointBindingPositions(const Value: TVector3List); overload;
93
94 strict private FFdJointBindingRotations: TMFRotation;
95 { Internal wrapper for property @code(JointBindingRotations). This wrapper API may change, we advise to access simpler @code(JointBindingRotations) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
96 public property FdJointBindingRotations: TMFRotation read FFdJointBindingRotations;
97 { }
98 procedure SetJointBindingRotations(const Value: array of TVector4); overload;
99 { }
100 procedure SetJointBindingRotations(const Value: TVector4List); overload;
101
102 strict private FFdJointBindingScales: TMFVec3f;
103 { Internal wrapper for property @code(JointBindingScales). This wrapper API may change, we advise to access simpler @code(JointBindingScales) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
104 public property FdJointBindingScales: TMFVec3f read FFdJointBindingScales;
105 { }
106 procedure SetJointBindingScales(const Value: array of TVector3); overload;
107 { }
108 procedure SetJointBindingScales(const Value: TVector3List); overload;
109
110 strict private FFdLoa: TSFInt32;
111 { Internal wrapper for property @code(Loa). This wrapper API may change, we advise to access simpler @code(Loa) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
112 public property FdLoa: TSFInt32 read FFdLoa;
113 { }
114 property Loa: Integer read GetLoa write SetLoa;
115
116 strict private FFdMotions: TMFNode;
117 { Internal wrapper for property @code(Motions). This wrapper API may change, we advise to access simpler @code(Motions) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
118 public property FdMotions: TMFNode read FFdMotions;
119 { }
120 procedure SetMotions(const Value: array of THAnimMotionNode);
121
122 strict private FFdMotionsEnabled: TMFBool;
123 { Internal wrapper for property @code(MotionsEnabled). This wrapper API may change, we advise to access simpler @code(MotionsEnabled) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
124 public property FdMotionsEnabled: TMFBool read FFdMotionsEnabled;
125 { }
126 procedure SetMotionsEnabled(const Value: array of boolean); overload;
127 { }
128 procedure SetMotionsEnabled(const Value: TBooleanList); overload;
129
130 strict private FFdName: TSFString;
131 { Internal wrapper for property @code(NameField). This wrapper API may change, we advise to access simpler @code(NameField) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
132 public property FdName: TSFString read FFdName;
133 { }
134 property NameField: String read GetNameField write SetNameField;
135
136 strict private FFdRotation: TSFRotation;
137 { Internal wrapper for property @code(Rotation). This wrapper API may change, we advise to access simpler @code(Rotation) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
138 public property FdRotation: TSFRotation read FFdRotation;
139 { }
140 property Rotation: TVector4 read GetRotation write SetRotation;
141
142 strict private FFdScale: TSFVec3f;
143 { Internal wrapper for property @code(Scale). This wrapper API may change, we advise to access simpler @code(Scale) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
144 public property FdScale: TSFVec3f read FFdScale;
145 { }
146 property Scale: TVector3 read GetScale write SetScale;
147
148 strict private FFdScaleOrientation: TSFRotation;
149 { Internal wrapper for property @code(ScaleOrientation). This wrapper API may change, we advise to access simpler @code(ScaleOrientation) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
150 public property FdScaleOrientation: TSFRotation read FFdScaleOrientation;
151 { }
152 property ScaleOrientation: TVector4 read GetScaleOrientation write SetScaleOrientation;
153
154 strict private FFdSegments: TMFNode;
155 { Internal wrapper for property @code(Segments). This wrapper API may change, we advise to access simpler @code(Segments) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
156 public property FdSegments: TMFNode read FFdSegments;
157 { }
158 procedure SetSegments(const Value: array of THAnimSegmentNode);
159
160 strict private FFdSites: TMFNode;
161 { Internal wrapper for property @code(Sites). This wrapper API may change, we advise to access simpler @code(Sites) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
162 public property FdSites: TMFNode read FFdSites;
163 { }
164 procedure SetSites(const Value: array of THAnimSiteNode);
165
166 strict private FFdSkeletalConfiguration: TSFString;
167 { Internal wrapper for property @code(SkeletalConfiguration). This wrapper API may change, we advise to access simpler @code(SkeletalConfiguration) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
168 public property FdSkeletalConfiguration: TSFString read FFdSkeletalConfiguration;
169 { }
170 property SkeletalConfiguration: String read GetSkeletalConfiguration write SetSkeletalConfiguration;
171
172 strict private FFdSkeleton: TMFNode;
173 { Internal wrapper for property @code(Skeleton). This wrapper API may change, we advise to access simpler @code(Skeleton) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
174 public property FdSkeleton: TMFNode read FFdSkeleton;
175 { }
176 procedure SetSkeleton(const Value: array of TX3DNode);
177
178 strict private FFdSkin: TMFNode;
179 { Internal wrapper for property @code(Skin). This wrapper API may change, we advise to access simpler @code(Skin) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
180 public property FdSkin: TMFNode read FFdSkin;
181 { }
182 procedure SetSkin(const Value: array of TAbstractChildNode);
183
184 strict private FFdSkinBindingCoord: TSFNode;
185 { Internal wrapper for property @code(SkinBindingCoord). This wrapper API may change, we advise to access simpler @code(SkinBindingCoord) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
186 public property FdSkinBindingCoord: TSFNode read FFdSkinBindingCoord;
187 { }
188 property SkinBindingCoord: TAbstractCoordinateNode read GetSkinBindingCoord write SetSkinBindingCoord;
189
190 strict private FFdSkinBindingNormal: TSFNode;
191 { Internal wrapper for property @code(SkinBindingNormal). This wrapper API may change, we advise to access simpler @code(SkinBindingNormal) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
192 public property FdSkinBindingNormal: TSFNode read FFdSkinBindingNormal;
193 { }
194 property SkinBindingNormal: TAbstractNormalNode read GetSkinBindingNormal write SetSkinBindingNormal;
195
196 strict private FFdSkinCoord: TSFNode;
197 { Internal wrapper for property @code(SkinCoord). This wrapper API may change, we advise to access simpler @code(SkinCoord) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
198 public property FdSkinCoord: TSFNode read FFdSkinCoord;
199
200 strict private FFdSkinNormal: TSFNode;
201 { Internal wrapper for property @code(SkinNormal). This wrapper API may change, we advise to access simpler @code(SkinNormal) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
202 public property FdSkinNormal: TSFNode read FFdSkinNormal;
203 { }
204 property SkinNormal: TAbstractNormalNode read GetSkinNormal write SetSkinNormal;
205
206 strict private FFdTranslation: TSFVec3f;
207 { Internal wrapper for property @code(Translation). This wrapper API may change, we advise to access simpler @code(Translation) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
208 public property FdTranslation: TSFVec3f read FFdTranslation;
209 { }
210 property Translation: TVector3 read GetTranslation write SetTranslation;
211
212 strict private FFdVersion: TSFString;
213 { Internal wrapper for property @code(Version). This wrapper API may change, we advise to access simpler @code(Version) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
214 public property FdVersion: TSFString read FFdVersion;
215 { }
216 property Version: String read GetVersion write SetVersion;
217
218 strict private FFdViewpoints: TMFNode;
219 { Internal wrapper for property @code(Viewpoints). This wrapper API may change, we advise to access simpler @code(Viewpoints) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
220 public property FdViewpoints: TMFNode read FFdViewpoints;
221 { }
222 procedure SetViewpoints(const Value: array of TX3DNode);
223
224 strict private FFdBboxCenter: TSFVec3f;
225 { Internal wrapper for property @code(BboxCenter). This wrapper API may change, we advise to access simpler @code(BboxCenter) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
226 public property FdBboxCenter: TSFVec3f read FFdBboxCenter;
227 { }
228 property BBox: TBox3D read GetBBox write SetBBox;
229
230 strict private FFdBboxSize: TSFVec3f;
231 { Internal wrapper for property @code(BboxSize). This wrapper API may change, we advise to access simpler @code(BboxSize) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
232 public property FdBboxSize: TSFVec3f read FFdBboxSize;
233
234 {$endif read_interface}
235
236 {$ifdef read_implementation}
237
238 { THAnimHumanoidNode ----------------------------------------------- }
239
240 function THAnimHumanoidNode.GetCenter: TVector3;
241 begin
242 Result := FdCenter.Value;
243 end;
244
245 procedure THAnimHumanoidNode.SetCenter(const Value: TVector3);
246 begin
247 FdCenter.Send(Value);
248 end;
249
250 function THAnimHumanoidNode.GetDescription: String;
251 begin
252 Result := FdDescription.Value;
253 end;
254
255 procedure THAnimHumanoidNode.SetDescription(const Value: String);
256 begin
257 FdDescription.Send(Value);
258 end;
259
260 procedure THAnimHumanoidNode.SetInfo(const Value: array of string);
261 begin
262 FdInfo.Send(Value);
263 end;
264
265 procedure THAnimHumanoidNode.SetInfo(const Value: TCastleStringList);
266 begin
267 FdInfo.Send(Value);
268 end;
269
270 procedure THAnimHumanoidNode.SetJoints(const Value: array of THAnimJointNode);
271 var
272 L: Integer;
273 A: array of TX3DNode;
274 begin
275 L := High(Value) + 1;
276 SetLength(A, L);
277 if L > 0 then
278 Move(Value[0], A[0], L * SizeOf(THAnimJointNode));
279 FdJoints.Send(A);
280 end;
281
282 procedure THAnimHumanoidNode.SetJointBindingPositions(const Value: array of TVector3);
283 begin
284 FdJointBindingPositions.Send(Value);
285 end;
286
287 procedure THAnimHumanoidNode.SetJointBindingPositions(const Value: TVector3List);
288 begin
289 FdJointBindingPositions.Send(Value);
290 end;
291
292 procedure THAnimHumanoidNode.SetJointBindingRotations(const Value: array of TVector4);
293 begin
294 FdJointBindingRotations.Send(Value);
295 end;
296
297 procedure THAnimHumanoidNode.SetJointBindingRotations(const Value: TVector4List);
298 begin
299 FdJointBindingRotations.Send(Value);
300 end;
301
302 procedure THAnimHumanoidNode.SetJointBindingScales(const Value: array of TVector3);
303 begin
304 FdJointBindingScales.Send(Value);
305 end;
306
307 procedure THAnimHumanoidNode.SetJointBindingScales(const Value: TVector3List);
308 begin
309 FdJointBindingScales.Send(Value);
310 end;
311
312 function THAnimHumanoidNode.GetLoa: Integer;
313 begin
314 Result := FdLoa.Value;
315 end;
316
317 procedure THAnimHumanoidNode.SetLoa(const Value: Integer);
318 begin
319 FdLoa.Send(Value);
320 end;
321
322 procedure THAnimHumanoidNode.SetMotions(const Value: array of THAnimMotionNode);
323 var
324 L: Integer;
325 A: array of TX3DNode;
326 begin
327 L := High(Value) + 1;
328 SetLength(A, L);
329 if L > 0 then
330 Move(Value[0], A[0], L * SizeOf(THAnimMotionNode));
331 FdMotions.Send(A);
332 end;
333
334 procedure THAnimHumanoidNode.SetMotionsEnabled(const Value: array of boolean);
335 begin
336 FdMotionsEnabled.Send(Value);
337 end;
338
339 procedure THAnimHumanoidNode.SetMotionsEnabled(const Value: TBooleanList);
340 begin
341 FdMotionsEnabled.Send(Value);
342 end;
343
344 function THAnimHumanoidNode.GetNameField: String;
345 begin
346 Result := FdName.Value;
347 end;
348
349 procedure THAnimHumanoidNode.SetNameField(const Value: String);
350 begin
351 FdName.Send(Value);
352 end;
353
354 function THAnimHumanoidNode.GetRotation: TVector4;
355 begin
356 Result := FdRotation.Value;
357 end;
358
359 procedure THAnimHumanoidNode.SetRotation(const Value: TVector4);
360 begin
361 FdRotation.Send(Value);
362 end;
363
364 function THAnimHumanoidNode.GetScale: TVector3;
365 begin
366 Result := FdScale.Value;
367 end;
368
369 procedure THAnimHumanoidNode.SetScale(const Value: TVector3);
370 begin
371 FdScale.Send(Value);
372 end;
373
374 function THAnimHumanoidNode.GetScaleOrientation: TVector4;
375 begin
376 Result := FdScaleOrientation.Value;
377 end;
378
379 procedure THAnimHumanoidNode.SetScaleOrientation(const Value: TVector4);
380 begin
381 FdScaleOrientation.Send(Value);
382 end;
383
384 procedure THAnimHumanoidNode.SetSegments(const Value: array of THAnimSegmentNode);
385 var
386 L: Integer;
387 A: array of TX3DNode;
388 begin
389 L := High(Value) + 1;
390 SetLength(A, L);
391 if L > 0 then
392 Move(Value[0], A[0], L * SizeOf(THAnimSegmentNode));
393 FdSegments.Send(A);
394 end;
395
396 procedure THAnimHumanoidNode.SetSites(const Value: array of THAnimSiteNode);
397 var
398 L: Integer;
399 A: array of TX3DNode;
400 begin
401 L := High(Value) + 1;
402 SetLength(A, L);
403 if L > 0 then
404 Move(Value[0], A[0], L * SizeOf(THAnimSiteNode));
405 FdSites.Send(A);
406 end;
407
408 function THAnimHumanoidNode.GetSkeletalConfiguration: String;
409 begin
410 Result := FdSkeletalConfiguration.Value;
411 end;
412
413 procedure THAnimHumanoidNode.SetSkeletalConfiguration(const Value: String);
414 begin
415 FdSkeletalConfiguration.Send(Value);
416 end;
417
418 procedure THAnimHumanoidNode.SetSkeleton(const Value: array of TX3DNode);
419 var
420 L: Integer;
421 A: array of TX3DNode;
422 begin
423 L := High(Value) + 1;
424 SetLength(A, L);
425 if L > 0 then
426 Move(Value[0], A[0], L * SizeOf(TX3DNode));
427 FdSkeleton.Send(A);
428 end;
429
430 procedure THAnimHumanoidNode.SetSkin(const Value: array of TAbstractChildNode);
431 var
432 L: Integer;
433 A: array of TX3DNode;
434 begin
435 L := High(Value) + 1;
436 SetLength(A, L);
437 if L > 0 then
438 Move(Value[0], A[0], L * SizeOf(TAbstractChildNode));
439 FdSkin.Send(A);
440 end;
441
442 function THAnimHumanoidNode.GetSkinBindingCoord: TAbstractCoordinateNode;
443 begin
444 if FdSkinBindingCoord.Value is TAbstractCoordinateNode then
445 Result := TAbstractCoordinateNode(FdSkinBindingCoord.Value)
446 else
447 Result := nil;
448 end;
449
450 procedure THAnimHumanoidNode.SetSkinBindingCoord(const Value: TAbstractCoordinateNode);
451 begin
452 FdSkinBindingCoord.Send(Value);
453 end;
454
455 function THAnimHumanoidNode.GetSkinBindingNormal: TAbstractNormalNode;
456 begin
457 if FdSkinBindingNormal.Value is TAbstractNormalNode then
458 Result := TAbstractNormalNode(FdSkinBindingNormal.Value)
459 else
460 Result := nil;
461 end;
462
463 procedure THAnimHumanoidNode.SetSkinBindingNormal(const Value: TAbstractNormalNode);
464 begin
465 FdSkinBindingNormal.Send(Value);
466 end;
467
468 function THAnimHumanoidNode.GetSkinNormal: TAbstractNormalNode;
469 begin
470 if FdSkinNormal.Value is TAbstractNormalNode then
471 Result := TAbstractNormalNode(FdSkinNormal.Value)
472 else
473 Result := nil;
474 end;
475
476 procedure THAnimHumanoidNode.SetSkinNormal(const Value: TAbstractNormalNode);
477 begin
478 FdSkinNormal.Send(Value);
479 end;
480
481 function THAnimHumanoidNode.GetTranslation: TVector3;
482 begin
483 Result := FdTranslation.Value;
484 end;
485
486 procedure THAnimHumanoidNode.SetTranslation(const Value: TVector3);
487 begin
488 FdTranslation.Send(Value);
489 end;
490
491 function THAnimHumanoidNode.GetVersion: String;
492 begin
493 Result := FdVersion.Value;
494 end;
495
496 procedure THAnimHumanoidNode.SetVersion(const Value: String);
497 begin
498 FdVersion.Send(Value);
499 end;
500
501 procedure THAnimHumanoidNode.SetViewpoints(const Value: array of TX3DNode);
502 var
503 L: Integer;
504 A: array of TX3DNode;
505 begin
506 L := High(Value) + 1;
507 SetLength(A, L);
508 if L > 0 then
509 Move(Value[0], A[0], L * SizeOf(TX3DNode));
510 FdViewpoints.Send(A);
511 end;
512
513 function THAnimHumanoidNode.GetBBox: TBox3D;
514 begin
515 Result := TBox3D.FromCenterSize(FdBBoxCenter.Value, FdBBoxSize.Value);
516 end;
517
518 procedure THAnimHumanoidNode.SetBBox(const Value: TBox3D);
519 var
520 ValueCenter, ValueSize: TVector3;
521 begin
522 Value.ToCenterSize(ValueCenter, ValueSize);
523 FdBBoxCenter.Send(ValueCenter);
524 FdBBoxSize.Send(ValueSize);
525 end;
526
527 class function THAnimHumanoidNode.ClassX3DType: String;
528 begin
529 Result := 'HAnimHumanoid';
530 end;
531
532 procedure THAnimHumanoidNode.CreateNode;
533 begin
534 inherited;
535
536 FFdCenter := TSFVec3f.Create(Self, True, 'center', Vector3(0, 0, 0));
537 FdCenter.ChangeAlways := chTransform;
538 AddField(FFdCenter);
539
540 FFdDescription := TSFString.Create(Self, True, 'description', '');
541 FdDescription.ChangeAlways := chNone;
542 AddField(FFdDescription);
543
544 FFdInfo := TMFString.Create(Self, True, 'info', []);
545 FdInfo.ChangeAlways := chVisibleNonGeometry;
546 AddField(FFdInfo);
547
548 FFdJoints := TMFNode.Create(Self, True, 'joints', [THAnimJointNode]);
549 FdJoints.ChangeAlways := chVisibleNonGeometry;
550 AddField(FFdJoints);
551
552 FFdJointBindingPositions := TMFVec3f.Create(Self, True, 'jointBindingPositions', []);
553 FdJointBindingPositions.ChangeAlways := chVisibleNonGeometry;
554 AddField(FFdJointBindingPositions);
555
556 FFdJointBindingRotations := TMFRotation.Create(Self, True, 'jointBindingRotations', []);
557 FdJointBindingRotations.ChangeAlways := chVisibleNonGeometry;
558 AddField(FFdJointBindingRotations);
559
560 FFdJointBindingScales := TMFVec3f.Create(Self, True, 'jointBindingScales', []);
561 FdJointBindingScales.ChangeAlways := chVisibleNonGeometry;
562 AddField(FFdJointBindingScales);
563
564 FFdLoa := TSFInt32.Create(Self, True, 'loa', -1);
565 FdLoa.ChangeAlways := chVisibleNonGeometry;
566 AddField(FFdLoa);
567
568 FFdMotions := TMFNode.Create(Self, True, 'motions', [THAnimMotionNode]);
569 FdMotions.ChangeAlways := chVisibleNonGeometry;
570 AddField(FFdMotions);
571
572 FFdMotionsEnabled := TMFBool.Create(Self, True, 'motionsEnabled', []);
573 FdMotionsEnabled.ChangeAlways := chVisibleNonGeometry;
574 AddField(FFdMotionsEnabled);
575
576 FFdName := TSFString.Create(Self, True, 'name', '');
577 FdName.ChangeAlways := chVisibleNonGeometry;
578 AddField(FFdName);
579
580 FFdRotation := TSFRotation.Create(Self, True, 'rotation', Vector3(0, 0, 1), 0);
581 FdRotation.ChangeAlways := chTransform;
582 AddField(FFdRotation);
583
584 FFdScale := TSFVec3f.Create(Self, True, 'scale', Vector3(1, 1, 1));
585 FdScale.ChangeAlways := chTransform;
586 AddField(FFdScale);
587
588 FFdScaleOrientation := TSFRotation.Create(Self, True, 'scaleOrientation', Vector3(0, 0, 1), 0);
589 FdScaleOrientation.ChangeAlways := chTransform;
590 AddField(FFdScaleOrientation);
591
592 FFdSegments := TMFNode.Create(Self, True, 'segments', [THAnimSegmentNode]);
593 FdSegments.ChangeAlways := chVisibleNonGeometry;
594 AddField(FFdSegments);
595
596 FFdSites := TMFNode.Create(Self, True, 'sites', [THAnimSiteNode]);
597 FdSites.ChangeAlways := chVisibleNonGeometry;
598 AddField(FFdSites);
599
600 FFdSkeletalConfiguration := TSFString.Create(Self, True, 'skeletalConfiguration', 'BASIC');
601 FdSkeletalConfiguration.ChangeAlways := chVisibleNonGeometry;
602 AddField(FFdSkeletalConfiguration);
603
604 FFdSkeleton := TMFNode.Create(Self, True, 'skeleton', [THAnimJointNode, THAnimSiteNode]);
605 FdSkeleton.ChangeAlways := chVisibleNonGeometry;
606 AddField(FFdSkeleton);
607
608 FFdSkin := TMFNode.Create(Self, True, 'skin', [TAbstractChildNode]);
609 FdSkin.ChangeAlways := chVisibleNonGeometry;
610 AddField(FFdSkin);
611
612 FFdSkinBindingCoord := TSFNode.Create(Self, True, 'skinBindingCoord', [TAbstractCoordinateNode]);
613 FdSkinBindingCoord.ChangeAlways := chVisibleNonGeometry;
614 AddField(FFdSkinBindingCoord);
615
616 FFdSkinBindingNormal := TSFNode.Create(Self, True, 'skinBindingNormal', [TAbstractNormalNode]);
617 FdSkinBindingNormal.ChangeAlways := chVisibleNonGeometry;
618 AddField(FFdSkinBindingNormal);
619
620 FFdSkinCoord := TSFNode.Create(Self, True, 'skinCoord', [TAbstractCoordinateNode]);
621 FdSkinCoord.ChangeAlways := chVisibleNonGeometry;
622 AddField(FFdSkinCoord);
623
624 FFdSkinNormal := TSFNode.Create(Self, True, 'skinNormal', [TAbstractNormalNode]);
625 FdSkinNormal.ChangeAlways := chVisibleNonGeometry;
626 AddField(FFdSkinNormal);
627
628 FFdTranslation := TSFVec3f.Create(Self, True, 'translation', Vector3(0, 0, 0));
629 FdTranslation.ChangeAlways := chTransform;
630 AddField(FFdTranslation);
631
632 FFdVersion := TSFString.Create(Self, True, 'version', '');
633 FdVersion.ChangeAlways := chVisibleNonGeometry;
634 AddField(FFdVersion);
635
636 FFdViewpoints := TMFNode.Create(Self, True, 'viewpoints', [THAnimSiteNode, TAbstractViewpointNode, TViewpointGroupNode]);
637 FdViewpoints.ChangeAlways := chVisibleNonGeometry;
638 AddField(FFdViewpoints);
639
640 FFdBboxCenter := TSFVec3f.Create(Self, False, 'bboxCenter', Vector3(0, 0, 0));
641 FdBboxCenter.ChangeAlways := chVisibleNonGeometry;
642 AddField(FFdBboxCenter);
643
644 FFdBboxSize := TSFVec3f.Create(Self, False, 'bboxSize', Vector3(-1, -1, -1));
645 FdBboxSize.ChangeAlways := chVisibleNonGeometry;
646 AddField(FFdBboxSize);
647 end;
648
649 {$endif read_implementation}