| 1 |
{%MainUnit x3dnodes.pas} |
| 2 |
{ |
| 3 |
Copyright 2008-2021 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 |
{$ifdef read_interface} |
| 18 |
TAbstractViewportNode = class; |
| 19 |
|
| 20 |
{ } |
| 21 |
TAbstractLayerNode = class(TAbstractNode) |
| 22 |
{$I auto_generated_node_helpers/x3dnodes_x3dlayernode.inc} |
| 23 |
end; |
| 24 |
|
| 25 |
TAbstractViewportNode = class(TAbstractGroupingNode) |
| 26 |
{$I auto_generated_node_helpers/x3dnodes_x3dviewportnode.inc} |
| 27 |
end; |
| 28 |
|
| 29 |
TLayerNode = class(TAbstractLayerNode) |
| 30 |
{$I auto_generated_node_helpers/x3dnodes_layer.inc} |
| 31 |
end; |
| 32 |
|
| 33 |
TLayerSetNode = class(TAbstractNode) |
| 34 |
{$I auto_generated_node_helpers/x3dnodes_layerset.inc} |
| 35 |
end; |
| 36 |
|
| 37 |
TViewportNode = class(TAbstractGroupingNode) |
| 38 |
{$I auto_generated_node_helpers/x3dnodes_viewport.inc} |
| 39 |
end; |
| 40 |
|
| 41 |
{$endif read_interface} |
| 42 |
|
| 43 |
{$ifdef read_implementation} |
| 44 |
|
| 45 |
{$I auto_generated_node_helpers/x3dnodes_x3dlayernode.inc} |
| 46 |
{$I auto_generated_node_helpers/x3dnodes_x3dviewportnode.inc} |
| 47 |
{$I auto_generated_node_helpers/x3dnodes_layer.inc} |
| 48 |
{$I auto_generated_node_helpers/x3dnodes_layerset.inc} |
| 49 |
{$I auto_generated_node_helpers/x3dnodes_viewport.inc} |
| 50 |
|
| 51 |
procedure RegisterLayeringNodes; |
| 52 |
begin |
| 53 |
NodesManager.RegisterNodeClasses([ |
| 54 |
TLayerNode, |
| 55 |
TLayerSetNode, |
| 56 |
TViewportNode |
| 57 |
]); |
| 58 |
end; |
| 59 |
|
| 60 |
{$endif read_implementation} |