Class TRationalBezierCurve
Unit
CastleCurves
Declaration
type TRationalBezierCurve = class(TControlPointsCurve)
Description
Warning: this symbol is deprecated: Rendering of TRationalBezierCurve is not portable to OpenGLES (that is: Android and iOS) and not very efficient. Also, this is usually not very useful curve for game purposes, you usually want to use cubic Bezier (CubicBezier3D) or piecewise cubic Bezier (TPiecewiseCubicBezier) instead. For portable and fast general curves use X3D NURBS nodes (wrapped in a TCastleScene) instead.
Rational Bezier curve (Bezier curve with weights). Note: for Bezier Curve ControlPoints.Count MAY be 1. (For TControlPointsCurve it must be >= 2)
Hierarchy
Overview
Fields
Methods
Description
Fields
 |
Weights: TFloatList; |
|
Curve weights. Must always be Weights.Count = ControlPoints.Count. After changing Weights you also have to call UpdateControlPoints.
|
Methods
 |
procedure LoadFromElement(const E: TDOMElement); override; |
|
|
 |
procedure SaveToStream(const Stream: TStream); override; |
|
|
 |
constructor Create(AOwner: TComponent); override; |
|
|
 |
destructor Destroy; override; |
|
|
 |
procedure UpdateControlPoints; override; |
|
|
Generated by PasDoc 0.14.0.
|