Debian Codegraph @

src/transform/auto_generated_persistent_vectors/tcastlepulleyjoint_persistent_vectors.inc

raw
1 { -*- buffer-read-only: t -*-
2
3 Copyright 2018-2022 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 wrapper to make vectors/colors persistent.
18
19 Do not edit this file manually!
20 Instead
21 - edit tools/internal/generate-persistent-vectors/persistent_vectors_input.txt
22 - and run generate-persistent-vectors in that directory.
23 }
24
25 {$ifdef read_interface_class}
26 strict private
27 FWorldAnchorPersistent: TCastleVector3Persistent;
28 function GetWorldAnchorForPersistent: TVector3;
29 procedure SetWorldAnchorForPersistent(const AValue: TVector3);
30 published
31 { @link(WorldAnchor) that can be visually edited in
32 Castle Game Engine Editor, Lazarus and Delphi.
33 Normal user code does not need to deal with this,
34 instead read or write @link(WorldAnchor) directly.
35
36 @seealso WorldAnchor }
37 property WorldAnchorPersistent: TCastleVector3Persistent read FWorldAnchorPersistent ;
38 {$endif read_interface_class}
39
40 {$ifdef read_implementation_methods}
41 function TCastlePulleyJoint.GetWorldAnchorForPersistent: TVector3;
42 begin
43 Result := WorldAnchor;
44 end;
45
46 procedure TCastlePulleyJoint.SetWorldAnchorForPersistent(const AValue: TVector3);
47 begin
48 WorldAnchor := AValue;
49 end;
50 {$endif read_implementation_methods}
51
52 {$ifdef read_implementation_constructor}
53 FWorldAnchorPersistent := TCastleVector3Persistent.Create(nil);
54 { Note that some classes (like TCastleVector3Persistent) call SetSubComponent(true)
55 on themselves, for backward compatibility. But we should not depend on it,
56 some classes (like TFloatRectanglePersisten) may not call it.
57 The responsibility of calling "SetSubComponent(true)" should be on the owner
58 in general (this is more functional, and more standard too). }
59 FWorldAnchorPersistent.SetSubComponent(true);
60 FWorldAnchorPersistent.InternalGetValue := {$ifdef FPC}@{$endif}GetWorldAnchorForPersistent;
61 FWorldAnchorPersistent.InternalSetValue := {$ifdef FPC}@{$endif}SetWorldAnchorForPersistent;
62 FWorldAnchorPersistent.InternalDefaultValue := WorldAnchor; // current value is default
63 {$endif read_implementation_constructor}
64
65 {$ifdef read_implementation_destructor}
66 FreeAndNil(FWorldAnchorPersistent);
67 {$endif read_implementation_destructor}
68
69 { -*- buffer-read-only: t -*-
70
71 Copyright 2018-2022 Michalis Kamburelis.
72
73 This file is part of "Castle Game Engine".
74
75 "Castle Game Engine" is free software; see the file COPYING.txt,
76 included in this distribution, for details about the copyright.
77
78 "Castle Game Engine" is distributed in the hope that it will be useful,
79 but WITHOUT ANY WARRANTY; without even the implied warranty of
80 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
81
82 ----------------------------------------------------------------------------
83 }
84
85 { Automatically generated wrapper to make vectors/colors persistent.
86
87 Do not edit this file manually!
88 Instead
89 - edit tools/internal/generate-persistent-vectors/persistent_vectors_input.txt
90 - and run generate-persistent-vectors in that directory.
91 }
92
93 {$ifdef read_interface_class}
94 strict private
95 FConnectedWorldAnchorPersistent: TCastleVector3Persistent;
96 function GetConnectedWorldAnchorForPersistent: TVector3;
97 procedure SetConnectedWorldAnchorForPersistent(const AValue: TVector3);
98 published
99 { @link(ConnectedWorldAnchor) that can be visually edited in
100 Castle Game Engine Editor, Lazarus and Delphi.
101 Normal user code does not need to deal with this,
102 instead read or write @link(ConnectedWorldAnchor) directly.
103
104 @seealso ConnectedWorldAnchor }
105 property ConnectedWorldAnchorPersistent: TCastleVector3Persistent read FConnectedWorldAnchorPersistent ;
106 {$endif read_interface_class}
107
108 {$ifdef read_implementation_methods}
109 function TCastlePulleyJoint.GetConnectedWorldAnchorForPersistent: TVector3;
110 begin
111 Result := ConnectedWorldAnchor;
112 end;
113
114 procedure TCastlePulleyJoint.SetConnectedWorldAnchorForPersistent(const AValue: TVector3);
115 begin
116 ConnectedWorldAnchor := AValue;
117 end;
118 {$endif read_implementation_methods}
119
120 {$ifdef read_implementation_constructor}
121 FConnectedWorldAnchorPersistent := TCastleVector3Persistent.Create(nil);
122 { Note that some classes (like TCastleVector3Persistent) call SetSubComponent(true)
123 on themselves, for backward compatibility. But we should not depend on it,
124 some classes (like TFloatRectanglePersisten) may not call it.
125 The responsibility of calling "SetSubComponent(true)" should be on the owner
126 in general (this is more functional, and more standard too). }
127 FConnectedWorldAnchorPersistent.SetSubComponent(true);
128 FConnectedWorldAnchorPersistent.InternalGetValue := {$ifdef FPC}@{$endif}GetConnectedWorldAnchorForPersistent;
129 FConnectedWorldAnchorPersistent.InternalSetValue := {$ifdef FPC}@{$endif}SetConnectedWorldAnchorForPersistent;
130 FConnectedWorldAnchorPersistent.InternalDefaultValue := ConnectedWorldAnchor; // current value is default
131 {$endif read_implementation_constructor}
132
133 {$ifdef read_implementation_destructor}
134 FreeAndNil(FConnectedWorldAnchorPersistent);
135 {$endif read_implementation_destructor}
136
137 { -*- buffer-read-only: t -*-
138
139 Copyright 2018-2022 Michalis Kamburelis.
140
141 This file is part of "Castle Game Engine".
142
143 "Castle Game Engine" is free software; see the file COPYING.txt,
144 included in this distribution, for details about the copyright.
145
146 "Castle Game Engine" is distributed in the hope that it will be useful,
147 but WITHOUT ANY WARRANTY; without even the implied warranty of
148 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
149
150 ----------------------------------------------------------------------------
151 }
152
153 { Automatically generated wrapper to make vectors/colors persistent.
154
155 Do not edit this file manually!
156 Instead
157 - edit tools/internal/generate-persistent-vectors/persistent_vectors_input.txt
158 - and run generate-persistent-vectors in that directory.
159 }
160
161 {$ifdef read_interface_class}
162 strict private
163 FWorldGroundAnchorPersistent: TCastleVector3Persistent;
164 function GetWorldGroundAnchorForPersistent: TVector3;
165 procedure SetWorldGroundAnchorForPersistent(const AValue: TVector3);
166 published
167 { @link(WorldGroundAnchor) that can be visually edited in
168 Castle Game Engine Editor, Lazarus and Delphi.
169 Normal user code does not need to deal with this,
170 instead read or write @link(WorldGroundAnchor) directly.
171
172 @seealso WorldGroundAnchor }
173 property WorldGroundAnchorPersistent: TCastleVector3Persistent read FWorldGroundAnchorPersistent ;
174 {$endif read_interface_class}
175
176 {$ifdef read_implementation_methods}
177 function TCastlePulleyJoint.GetWorldGroundAnchorForPersistent: TVector3;
178 begin
179 Result := WorldGroundAnchor;
180 end;
181
182 procedure TCastlePulleyJoint.SetWorldGroundAnchorForPersistent(const AValue: TVector3);
183 begin
184 WorldGroundAnchor := AValue;
185 end;
186 {$endif read_implementation_methods}
187
188 {$ifdef read_implementation_constructor}
189 FWorldGroundAnchorPersistent := TCastleVector3Persistent.Create(nil);
190 { Note that some classes (like TCastleVector3Persistent) call SetSubComponent(true)
191 on themselves, for backward compatibility. But we should not depend on it,
192 some classes (like TFloatRectanglePersisten) may not call it.
193 The responsibility of calling "SetSubComponent(true)" should be on the owner
194 in general (this is more functional, and more standard too). }
195 FWorldGroundAnchorPersistent.SetSubComponent(true);
196 FWorldGroundAnchorPersistent.InternalGetValue := {$ifdef FPC}@{$endif}GetWorldGroundAnchorForPersistent;
197 FWorldGroundAnchorPersistent.InternalSetValue := {$ifdef FPC}@{$endif}SetWorldGroundAnchorForPersistent;
198 FWorldGroundAnchorPersistent.InternalDefaultValue := WorldGroundAnchor; // current value is default
199 {$endif read_implementation_constructor}
200
201 {$ifdef read_implementation_destructor}
202 FreeAndNil(FWorldGroundAnchorPersistent);
203 {$endif read_implementation_destructor}
204
205 { -*- buffer-read-only: t -*-
206
207 Copyright 2018-2022 Michalis Kamburelis.
208
209 This file is part of "Castle Game Engine".
210
211 "Castle Game Engine" is free software; see the file COPYING.txt,
212 included in this distribution, for details about the copyright.
213
214 "Castle Game Engine" is distributed in the hope that it will be useful,
215 but WITHOUT ANY WARRANTY; without even the implied warranty of
216 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
217
218 ----------------------------------------------------------------------------
219 }
220
221 { Automatically generated wrapper to make vectors/colors persistent.
222
223 Do not edit this file manually!
224 Instead
225 - edit tools/internal/generate-persistent-vectors/persistent_vectors_input.txt
226 - and run generate-persistent-vectors in that directory.
227 }
228
229 {$ifdef read_interface_class}
230 strict private
231 FConnectedWorldGroundAnchorPersistent: TCastleVector3Persistent;
232 function GetConnectedWorldGroundAnchorForPersistent: TVector3;
233 procedure SetConnectedWorldGroundAnchorForPersistent(const AValue: TVector3);
234 published
235 { @link(ConnectedWorldGroundAnchor) that can be visually edited in
236 Castle Game Engine Editor, Lazarus and Delphi.
237 Normal user code does not need to deal with this,
238 instead read or write @link(ConnectedWorldGroundAnchor) directly.
239
240 @seealso ConnectedWorldGroundAnchor }
241 property ConnectedWorldGroundAnchorPersistent: TCastleVector3Persistent read FConnectedWorldGroundAnchorPersistent ;
242 {$endif read_interface_class}
243
244 {$ifdef read_implementation_methods}
245 function TCastlePulleyJoint.GetConnectedWorldGroundAnchorForPersistent: TVector3;
246 begin
247 Result := ConnectedWorldGroundAnchor;
248 end;
249
250 procedure TCastlePulleyJoint.SetConnectedWorldGroundAnchorForPersistent(const AValue: TVector3);
251 begin
252 ConnectedWorldGroundAnchor := AValue;
253 end;
254 {$endif read_implementation_methods}
255
256 {$ifdef read_implementation_constructor}
257 FConnectedWorldGroundAnchorPersistent := TCastleVector3Persistent.Create(nil);
258 { Note that some classes (like TCastleVector3Persistent) call SetSubComponent(true)
259 on themselves, for backward compatibility. But we should not depend on it,
260 some classes (like TFloatRectanglePersisten) may not call it.
261 The responsibility of calling "SetSubComponent(true)" should be on the owner
262 in general (this is more functional, and more standard too). }
263 FConnectedWorldGroundAnchorPersistent.SetSubComponent(true);
264 FConnectedWorldGroundAnchorPersistent.InternalGetValue := {$ifdef FPC}@{$endif}GetConnectedWorldGroundAnchorForPersistent;
265 FConnectedWorldGroundAnchorPersistent.InternalSetValue := {$ifdef FPC}@{$endif}SetConnectedWorldGroundAnchorForPersistent;
266 FConnectedWorldGroundAnchorPersistent.InternalDefaultValue := ConnectedWorldGroundAnchor; // current value is default
267 {$endif read_implementation_constructor}
268
269 {$ifdef read_implementation_destructor}
270 FreeAndNil(FConnectedWorldGroundAnchorPersistent);
271 {$endif read_implementation_destructor}
272