Class TAbstractShapeNode

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAbstractShapeNode = class(TAbstractChildNode, IAbstractBoundedObject)

Description

no description available, TAbstractChildNode description follows
no description available, TAbstractNode description follows

Base X3D node.

Almost all X3D nodes inherit from this. (Exception: X3DMetadataObject. So you cannot have metadata of metadata of...)

Hierarchy

Overview

Methods

Public procedure CreateNode; override;
Public procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override;
Public procedure AfterTraverse(StateStack: TX3DGraphTraverseStateStack); override;

Properties

Public property FdAppearance: TSFNode read FFdAppearance;
Public property FdGeometry: TSFNode read FFdGeometry;
Public property FdBboxCenter: TSFVec3f read FFdBboxCenter;
Public property FdBboxSize: TSFVec3f read FFdBboxSize;
Public property FdShading: TSFStringShading read FFdShading;
Public property Appearance: TAppearanceNode read GetAppearance write SetAppearance;
Public property Texture: TAbstractTextureNode read GetTexture write SetTexture;
Public property TextureTransform: TAbstractTextureTransformNode read GetTextureTransform write SetTextureTransform;
Public property Material: TMaterialNode read GetMaterial write SetMaterial;
Public property LineProperties: TLinePropertiesNode read GetLineProperties write SetLineProperties;
Public property FdOctreeTriangles: TSFNode read FFdOctreeTriangles;

Description

Methods

Public procedure CreateNode; override;
 
Public procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override;
 
Public procedure AfterTraverse(StateStack: TX3DGraphTraverseStateStack); override;
 

Properties

Public property FdAppearance: TSFNode read FFdAppearance;
 
Public property FdGeometry: TSFNode read FFdGeometry;
 
Public property FdBboxCenter: TSFVec3f read FFdBboxCenter;
 
Public property FdBboxSize: TSFVec3f read FFdBboxSize;
 
Public property FdShading: TSFStringShading read FFdShading;
 
Public property Appearance: TAppearanceNode read GetAppearance write SetAppearance;

Apperance of this shape.

This is a comfortable shortcut for FdAppearance.Value, checking whether it's class is appropriate.

Public property Texture: TAbstractTextureNode read GetTexture write SetTexture;

The texture of this shape. This is a shortcut for accessing "texture" field of Apperance, that is TAppearanceNode(FdAppearance.Value).FdTexture.Value, checking whether nodes are set to appropriate types along the way.

When setting this to something non-nil, we make sure to also set Appearance to something non-nil.

Public property TextureTransform: TAbstractTextureTransformNode read GetTextureTransform write SetTextureTransform;

Texture transformation of this shape. Similar to Texture, this is just a comfortable property for getting and setting the appropriate Appearance field, checking class types along the way.

Public property Material: TMaterialNode read GetMaterial write SetMaterial;

Get / set the (simple, one-sided) material of this shape. This is a shortcut for accessing "material" field of Apperance, that is TAppearanceNode(FdAppearance.Value).FdMaterial.Value, checking whether nodes are set to appropriate types along the way.

When setting this material to something non-nil, we make sure to also set Appearance to something non-nil.

Public property LineProperties: TLinePropertiesNode read GetLineProperties write SetLineProperties;

Line properties of this shape. This is a clean, type-safe way for accessing Appearance.lineProperties field of this shape.

Public property FdOctreeTriangles: TSFNode read FFdOctreeTriangles;
 

Generated by PasDoc 0.13.0 on 2013-08-17 21:27:15