Class TSwitchNode

DescriptionHierarchyFieldsMethodsProperties

Unit

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

Protected procedure DirectEnumerateActive( Func: TEnumerateChildrenFunction); override;
Public procedure CreateNode; override;
Public class function ClassNodeTypeName: string; override;
Public class function ForVRMLVersion(const Version: TX3DVersion): boolean; override;
Public class function URNMatching(const URN: string): boolean; override;
Public function TransformationChange: TNodeTransformationChange; override;

Properties

Public property FdWhichChoice: TSFInt32 read FFdWhichChoice;

Description

Methods

Protected procedure DirectEnumerateActive( Func: TEnumerateChildrenFunction); override;
 
Public procedure CreateNode; override;
 
Public class function ClassNodeTypeName: string; override;
 
Public class function ForVRMLVersion(const Version: TX3DVersion): boolean; override;
 
Public class function URNMatching(const URN: string): boolean; override;
 
Public function TransformationChange: TNodeTransformationChange; override;
 

Properties

Public property FdWhichChoice: TSFInt32 read FFdWhichChoice;
 

Generated by PasDoc 0.14.0.