Class TCasScriptCurve
Unit
Declaration
type TCasScriptCurve = class(TCurve)
Description
Curve defined by explicitly giving functions for Point(t) = x(t), y(t), z(t) as CastleScript expressions.
Hierarchy
- TObject
- TCurve
- TCasScriptCurve
Overview
Methods
procedure LoadFromElement(const E: TDOMElement); override; |
|
procedure SaveToStream(const Stream: TStream); override; |
|
function Point(const t: Float): TVector3; override; |
|
function BoundingBox: TBox3D; override; |
|
constructor Create; |
|
destructor Destroy; override; |
Properties
property XFunction: TCasScriptExpression index 0 read GetFunction write SetFunction; |
|
property YFunction: TCasScriptExpression index 1 read GetFunction write SetFunction; |
|
property ZFunction: TCasScriptExpression index 2 read GetFunction write SetFunction; |
|
property TVariable: TCasScriptFloat read FTVariable write SetTVariable; |
|
property SegmentsForBoundingBox: Cardinal
read FSegmentsForBoundingBox write SetSegmentsForBoundingBox default 100; |
Description
Methods
procedure LoadFromElement(const E: TDOMElement); override; |
|
This item has no description. |
procedure SaveToStream(const Stream: TStream); override; |
|
This item has no description. |
function Point(const t: Float): TVector3; override; |
|
This item has no description. Showing description inherited from TCurve.Point. Curve function, for each parameter value determine the 3D point. This determines the actual shape of the curve. This is the simplest approach to calculate points on a curve. |
function BoundingBox: TBox3D; override; |
|
Simple bounding box. It is simply a |
constructor Create; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
Properties
property XFunction: TCasScriptExpression index 0 read GetFunction write SetFunction; |
|
|
property YFunction: TCasScriptExpression index 1 read GetFunction write SetFunction; |
|
This item has no description. |
property ZFunction: TCasScriptExpression index 2 read GetFunction write SetFunction; |
|
This item has no description. |
property TVariable: TCasScriptFloat read FTVariable write SetTVariable; |
|
This is the variable controlling 't' value, embedded also in XFunction, YFunction, ZFunction. This is NOT owned by this class, make sure to free it yourself! |
property SegmentsForBoundingBox: Cardinal
read FSegmentsForBoundingBox write SetSegmentsForBoundingBox default 100; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.