Class TCasScriptCurve
Unit
CastleCurves
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
Properties
Description
Methods
|
procedure LoadFromElement(const E: TDOMElement); override; |
|
|
procedure SaveToStream(const Stream: TStream); override; |
|
|
constructor Create; |
|
|
destructor Destroy; override; |
|
Properties
|
property XFunction: TCasScriptExpression index 0 read GetFunction write SetFunction; |
XFunction , YFunction, ZFunction are functions based on variable 't'. Once set, these instances become owned by this class, do not free them yourself!
|
|
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; |
|
Generated by PasDoc 0.16.0.