Class TConeNode

Unit

Declaration

type TConeNode = class(TAbstractGeometryNode)

Description

Cone.

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Public function TexCoordField: TSFNode; override;
Public function SolidField: TSFBool; override;
Public function CalculateSlices: Cardinal;
Public function CalculateStacks: Cardinal;
Public class function ForVRMLVersion(const Version: TX3DVersion): boolean; override;
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public function AutoGenerate3DTexCoords: boolean; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;

Properties

Public property FdBottom: TSFBool read FFdBottom;
Public property Bottom: Boolean read GetBottom write SetBottom;
Public property FdBottomRadius: TSFFloat read FFdBottomRadius;
Public property BottomRadius: Single read GetBottomRadius write SetBottomRadius;
Public property FdHeight: TSFFloat read FFdHeight;
Public property Height: Single read GetHeight write SetHeight;
Public property FdSide: TSFBool read FFdSide;
Public property Side: Boolean read GetSide write SetSide;
Public property FdSolid: TSFBool read FFdSolid;
Public property FdTexCoord: TSFNode read FFdTexCoord;
Public property TexCoord: TX3DNode read GetTexCoord write SetTexCoord;
Public property FdSlices: TSFInt32 read FFdSlices;
Public property Slices: Integer read GetSlices write SetSlices;
Public property FdStacks: TSFInt32 read FFdStacks;
Public property Stacks: Integer read GetStacks write SetStacks;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public function TexCoordField: TSFNode; override;
 
Public function SolidField: TSFBool; override;
 
Public function CalculateSlices: Cardinal;
 
Public function CalculateStacks: Cardinal;
 
Public class function ForVRMLVersion(const Version: TX3DVersion): boolean; override;
 
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
 
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public function AutoGenerate3DTexCoords: boolean; override;
 
Public procedure CreateNode; override;

Create node fields and events.

Public class function ClassX3DType: String; override;
 

Properties

Public property FdBottom: TSFBool read FFdBottom;

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

Public property Bottom: Boolean read GetBottom write SetBottom;
 
Public property FdBottomRadius: TSFFloat read FFdBottomRadius;

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

Public property BottomRadius: Single read GetBottomRadius write SetBottomRadius;
 
Public property FdHeight: TSFFloat read FFdHeight;

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

Public property Height: Single read GetHeight write SetHeight;
 
Public property FdSide: TSFBool read FFdSide;

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

Public property Side: Boolean read GetSide write SetSide;
 
Public property FdSolid: TSFBool read FFdSolid;

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

Public property FdTexCoord: TSFNode read FFdTexCoord;

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

Public property TexCoord: TX3DNode read GetTexCoord write SetTexCoord;
 
Public property FdSlices: TSFInt32 read FFdSlices;

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

Public property Slices: Integer read GetSlices write SetSlices;

How many "slices" to use to approximate the cone. The cone is rendered using polygons (triangles and quads) that approximate the cone shape. The more slices, the more the cone will look like a cone. Slices divide the objects like slices of a pizza. The default value of 0 means to follow global variable DefaultTriangulationSlices.

Public property FdStacks: TSFInt32 read FFdStacks;

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

Public property Stacks: Integer read GetStacks write SetStacks;

How many "stacks" to use to approximate the cone. The cone is rendered using polygons (triangles and quads) that approximate the cone shape. The more stacks, the more the cone will look like a cone. Stacks divide the objects like stacks of a tower. The default value of 0 means to follow global variable DefaultTriangulationStacks.


Generated by PasDoc 0.16.0.