Class TX3DInterfaceDeclaration
Unit
Declaration
type TX3DInterfaceDeclaration = class(TX3DFileItem)
Description
Interface declaration, used in VRML/X3D (exposed) prototypes and for nodes with dynamic fields (Script, ComposedShader). See VRML 2.0 and X3D specs.
Each interface specification is a field or an event, stored in FieldOrEvent. FieldOrEvent is Nil before parsing.
Field value is not initialized if you passed FieldValue = False to Parse (although IsClauseNames will always be initialized). FieldValue = True is used for prototype (not external) declarations and nodes with interface declarations (Script, ComposedShader etc.). In the future maybe some property like FieldValueInitialized will be exposed here, if needed at some point.
Interface declaration doesn't have much properties, since all the information is contained within FieldOrEvent instance, like Name, field class type, out or in (in case of event), exposed or not (in case of field), IsClauseNames.
Source: scene/x3d/x3dnodes_x3dinterfacedeclaration.inc (line 38).
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DInterfaceDeclaration
Generated by PasDoc 0.17.0.snapshot.