Debian Codegraph @

src/scene/x3d/auto_generated_node_helpers/x3dnodes_easeineaseout.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 public
27 { Create node fields and events. }
28 procedure CreateNode; override;
29 class function ClassX3DType: String; override;
30
31 strict private FEventSet_fraction: TSFFloatEvent;
32 { }
33 public property EventSet_fraction: TSFFloatEvent read FEventSet_fraction;
34
35 strict private FFdEaseInEaseOut: TMFVec2f;
36 { Internal wrapper for property @code(EaseInEaseOut). This wrapper API may change, we advise to access simpler @code(EaseInEaseOut) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
37 public property FdEaseInEaseOut: TMFVec2f read FFdEaseInEaseOut;
38 { }
39 procedure SetEaseInEaseOut(const Value: array of TVector2); overload;
40 { }
41 procedure SetEaseInEaseOut(const Value: TVector2List); overload;
42
43 strict private FFdKey: TMFFloat;
44 { Internal wrapper for property @code(Key). This wrapper API may change, we advise to access simpler @code(Key) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
45 public property FdKey: TMFFloat read FFdKey;
46 { }
47 procedure SetKey(const Value: array of Single); overload;
48 { }
49 procedure SetKey(const Value: TSingleList); overload;
50
51 strict private FEventModifiedFraction_changed: TSFFloatEvent;
52 { }
53 public property EventModifiedFraction_changed: TSFFloatEvent read FEventModifiedFraction_changed;
54
55 {$endif read_interface}
56
57 {$ifdef read_implementation}
58
59 { TEaseInEaseOutNode ----------------------------------------------- }
60
61 procedure TEaseInEaseOutNode.SetEaseInEaseOut(const Value: array of TVector2);
62 begin
63 FdEaseInEaseOut.Send(Value);
64 end;
65
66 procedure TEaseInEaseOutNode.SetEaseInEaseOut(const Value: TVector2List);
67 begin
68 FdEaseInEaseOut.Send(Value);
69 end;
70
71 procedure TEaseInEaseOutNode.SetKey(const Value: array of Single);
72 begin
73 FdKey.Send(Value);
74 end;
75
76 procedure TEaseInEaseOutNode.SetKey(const Value: TSingleList);
77 begin
78 FdKey.Send(Value);
79 end;
80
81 class function TEaseInEaseOutNode.ClassX3DType: String;
82 begin
83 Result := 'EaseInEaseOut';
84 end;
85
86 procedure TEaseInEaseOutNode.CreateNode;
87 begin
88 inherited;
89
90 FEventSet_fraction := TSFFloatEvent.Create(Self, 'set_fraction', true);
91 AddEvent(FEventSet_fraction);
92
93 FFdEaseInEaseOut := TMFVec2f.Create(Self, True, 'easeInEaseOut', []);
94 FdEaseInEaseOut.ChangeAlways := chNone;
95 AddField(FFdEaseInEaseOut);
96
97 FFdKey := TMFFloat.Create(Self, True, 'key', []);
98 FdKey.ChangeAlways := chNone;
99 AddField(FFdKey);
100
101 FEventModifiedFraction_changed := TSFFloatEvent.Create(Self, 'modifiedFraction_changed', false);
102 AddEvent(FEventModifiedFraction_changed);
103 end;
104
105 {$endif read_implementation}