Debian Codegraph @

src/scene/x3d/auto_generated_node_helpers/x3dnodes_background.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 FFdBackUrl: TMFString;
32 { Internal wrapper for property @code(BackUrl). This wrapper API may change, we advise to access simpler @code(BackUrl) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
33 public property FdBackUrl: TMFString read FFdBackUrl;
34 { }
35 procedure SetBackUrl(const Value: array of string); overload;
36 { }
37 procedure SetBackUrl(const Value: TCastleStringList); overload;
38
39 strict private FFdBottomUrl: TMFString;
40 { Internal wrapper for property @code(BottomUrl). This wrapper API may change, we advise to access simpler @code(BottomUrl) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
41 public property FdBottomUrl: TMFString read FFdBottomUrl;
42 { }
43 procedure SetBottomUrl(const Value: array of string); overload;
44 { }
45 procedure SetBottomUrl(const Value: TCastleStringList); overload;
46
47 strict private FFdFrontUrl: TMFString;
48 { Internal wrapper for property @code(FrontUrl). This wrapper API may change, we advise to access simpler @code(FrontUrl) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
49 public property FdFrontUrl: TMFString read FFdFrontUrl;
50 { }
51 procedure SetFrontUrl(const Value: array of string); overload;
52 { }
53 procedure SetFrontUrl(const Value: TCastleStringList); overload;
54
55 strict private FFdLeftUrl: TMFString;
56 { Internal wrapper for property @code(LeftUrl). This wrapper API may change, we advise to access simpler @code(LeftUrl) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
57 public property FdLeftUrl: TMFString read FFdLeftUrl;
58 { }
59 procedure SetLeftUrl(const Value: array of string); overload;
60 { }
61 procedure SetLeftUrl(const Value: TCastleStringList); overload;
62
63 strict private FFdRightUrl: TMFString;
64 { Internal wrapper for property @code(RightUrl). This wrapper API may change, we advise to access simpler @code(RightUrl) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
65 public property FdRightUrl: TMFString read FFdRightUrl;
66 { }
67 procedure SetRightUrl(const Value: array of string); overload;
68 { }
69 procedure SetRightUrl(const Value: TCastleStringList); overload;
70
71 strict private FFdTopUrl: TMFString;
72 { Internal wrapper for property @code(TopUrl). This wrapper API may change, we advise to access simpler @code(TopUrl) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). }
73 public property FdTopUrl: TMFString read FFdTopUrl;
74 { }
75 procedure SetTopUrl(const Value: array of string); overload;
76 { }
77 procedure SetTopUrl(const Value: TCastleStringList); overload;
78
79 {$endif read_interface}
80
81 {$ifdef read_implementation}
82
83 { TBackgroundNode ----------------------------------------------- }
84
85 procedure TBackgroundNode.SetBackUrl(const Value: array of string);
86 begin
87 FdBackUrl.Send(Value);
88 end;
89
90 procedure TBackgroundNode.SetBackUrl(const Value: TCastleStringList);
91 begin
92 FdBackUrl.Send(Value);
93 end;
94
95 procedure TBackgroundNode.SetBottomUrl(const Value: array of string);
96 begin
97 FdBottomUrl.Send(Value);
98 end;
99
100 procedure TBackgroundNode.SetBottomUrl(const Value: TCastleStringList);
101 begin
102 FdBottomUrl.Send(Value);
103 end;
104
105 procedure TBackgroundNode.SetFrontUrl(const Value: array of string);
106 begin
107 FdFrontUrl.Send(Value);
108 end;
109
110 procedure TBackgroundNode.SetFrontUrl(const Value: TCastleStringList);
111 begin
112 FdFrontUrl.Send(Value);
113 end;
114
115 procedure TBackgroundNode.SetLeftUrl(const Value: array of string);
116 begin
117 FdLeftUrl.Send(Value);
118 end;
119
120 procedure TBackgroundNode.SetLeftUrl(const Value: TCastleStringList);
121 begin
122 FdLeftUrl.Send(Value);
123 end;
124
125 procedure TBackgroundNode.SetRightUrl(const Value: array of string);
126 begin
127 FdRightUrl.Send(Value);
128 end;
129
130 procedure TBackgroundNode.SetRightUrl(const Value: TCastleStringList);
131 begin
132 FdRightUrl.Send(Value);
133 end;
134
135 procedure TBackgroundNode.SetTopUrl(const Value: array of string);
136 begin
137 FdTopUrl.Send(Value);
138 end;
139
140 procedure TBackgroundNode.SetTopUrl(const Value: TCastleStringList);
141 begin
142 FdTopUrl.Send(Value);
143 end;
144
145 class function TBackgroundNode.ClassX3DType: String;
146 begin
147 Result := 'Background';
148 end;
149
150 procedure TBackgroundNode.CreateNode;
151 begin
152 inherited;
153
154 FFdBackUrl := TMFString.Create(Self, True, 'backUrl', []);
155 FdBackUrl.ChangeAlways := chEverything;
156 AddField(FFdBackUrl);
157
158 FFdBottomUrl := TMFString.Create(Self, True, 'bottomUrl', []);
159 FdBottomUrl.ChangeAlways := chEverything;
160 AddField(FFdBottomUrl);
161
162 FFdFrontUrl := TMFString.Create(Self, True, 'frontUrl', []);
163 FdFrontUrl.ChangeAlways := chEverything;
164 AddField(FFdFrontUrl);
165
166 FFdLeftUrl := TMFString.Create(Self, True, 'leftUrl', []);
167 FdLeftUrl.ChangeAlways := chEverything;
168 AddField(FFdLeftUrl);
169
170 FFdRightUrl := TMFString.Create(Self, True, 'rightUrl', []);
171 FdRightUrl.ChangeAlways := chEverything;
172 AddField(FFdRightUrl);
173
174 FFdTopUrl := TMFString.Create(Self, True, 'topUrl', []);
175 FdTopUrl.ChangeAlways := chEverything;
176 AddField(FFdTopUrl);
177 end;
178
179 {$endif read_implementation}