Class TKambiInlineNode

Unit

Declaration

type TKambiInlineNode = class(TInlineNode)

Description

Embed a scene from another file, and replace some of it's nodes. See https://castle-engine.io/x3d_extensions.php#section_ext_kambi_inline .

Hierarchy

Overview

Methods

Protected procedure AfterLoadInlined; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;
Public procedure SetReplaceNames(const Value: array of string); overload;
Public procedure SetReplaceNames(const Value: TCastleStringList); overload;
Public procedure SetReplaceNodes(const Value: array of TAbstractNode);

Properties

Public property FdReplaceNames: TMFString read FFdReplaceNames;
Public property FdReplaceNodes: TMFNode read FFdReplaceNodes;

Description

Methods

Protected procedure AfterLoadInlined; override;

This item has no description. Showing description inherited from TInlineNode.AfterLoadInlined.

You can override this to do anything after the Inline children were loaded. It's called only after actual loading occurred, e.g. it's not called when LoadInlined was called on the already-loaded node with CanReload = False.

Public procedure CreateNode; override;

Create node fields and events.

Public class function ClassX3DType: String; override;

This item has no description. Showing description inherited from TX3DNode.ClassX3DType.

Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value.

Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there.

You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance.

Public procedure SetReplaceNames(const Value: array of string); overload;

This item has no description.

Public procedure SetReplaceNames(const Value: TCastleStringList); overload;

This item has no description.

Public procedure SetReplaceNodes(const Value: array of TAbstractNode);

This item has no description.

Properties

Public property FdReplaceNames: TMFString read FFdReplaceNames;

Internal wrapper for property ReplaceNames. This wrapper API may change, we advise to access simpler ReplaceNames instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property FdReplaceNodes: TMFNode read FFdReplaceNodes;

Internal wrapper for property ReplaceNodes. This wrapper API may change, we advise to access simpler ReplaceNodes instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).


Generated by PasDoc 0.16.0-snapshot.