Class TSwitchNode
Unit
X3DNodes
Declaration
type TSwitchNode = class(TAbstractX3DGroupingNode)
Description
Switch node.
Compatibility node: this class is used for both VRML 97 and X3D. Although field name changed for X3D (in VRML 97, "children" was called "choice"), this is handled seamlessly using our TX3DFieldOrEvent.AddAlternativeField mechanism. In other words, programmer simply works with FdChildren field, and when reading/writing VRML file we take care to actually use either "children" or "choice" name, depending on used VRML version.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure CreateNode; override; |
|
 |
class function ClassNodeTypeName: string; override; |
|
 |
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
|
 |
class function URNMatching(const URN: string): boolean; override; |
|
Properties
 |
property FdWhichChoice: TSFInt32 read FFdWhichChoice; |
|
Generated by PasDoc 0.12.1 on 2013-02-04 20:26:54
|