Class TAbstractCubicBezierInterpolatorNode
Unit
Declaration
type TAbstractCubicBezierInterpolatorNode = class(TAbstractInterpolatorNode)
Description
Copyright 2002-2022 Michalis Kamburelis.
This file is part of "Castle Game Engine".
"Castle Game Engine" is free software; see the file COPYING.txt, included in this distribution, for details about the copyright.
"Castle Game Engine" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
—————————————————————————-
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TAbstractInterpolatorNode
- TAbstractCubicBezierInterpolatorNode
Overview
Methods
function DeepCopyCore(CopyState: TX3DNodeDeepCopyState): TX3DNode; override; |
|
destructor Destroy; override; |
|
procedure OptimizeControlPoints( const CopyOptimizedDataFrom: TAbstractCubicBezierInterpolatorNode = nil); |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
|
procedure SetControlPoints(const Value: array of TVector4); overload; |
|
procedure SetControlPoints(const Value: TVector4List); overload; |
Properties
property FdControlPoints: TMFVec4f read FFdControlPoints; |
Description
Methods
function DeepCopyCore(CopyState: TX3DNodeDeepCopyState): TX3DNode; override; |
|
This item has no description. Showing description inherited from TX3DNode.DeepCopyCore. Does actual DeepCopy work. You can override this to copy some more properties for descendants. |
destructor Destroy; override; |
|
This item has no description. |
procedure OptimizeControlPoints( const CopyOptimizedDataFrom: TAbstractCubicBezierInterpolatorNode = nil); |
|
Once the FdControlPoints value is settled, call this to precalculate curve parameters. This makes the following interpolation using this node work fast. You can pass CopyOptimizedDataFrom if you have a copy of this node (with exactly equal FdControlPoints) from which we could copy optimized data. |
procedure CreateNode; override; |
|
Create node fields and events. |
class function ClassX3DType: String; override; |
|
This item has no description. Showing description inherited from TX3DNode.ClassX3DType. Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value. Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there. You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance. |
procedure SetControlPoints(const Value: array of TVector4); overload; |
|
This item has no description. |
procedure SetControlPoints(const Value: TVector4List); overload; |
|
This item has no description. |
Properties
property FdControlPoints: TMFVec4f read FFdControlPoints; |
|
Internal wrapper for property |
Generated by PasDoc 0.16.0-snapshot.