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

Overview

Methods

Protected function DeepCopyCore(CopyState: TX3DNodeDeepCopyState): TX3DNode; override;
Public destructor Destroy; override;
Public procedure OptimizeControlPoints( const CopyOptimizedDataFrom: TAbstractCubicBezierInterpolatorNode = nil);
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetControlPoints(const Value: array of TVector4); overload;
Public procedure SetControlPoints(const Value: TVector4List); overload;

Properties

Public property FdControlPoints: TMFVec4f read FFdControlPoints;

Description

Methods

Protected function DeepCopyCore(CopyState: TX3DNodeDeepCopyState): TX3DNode; override;
 
Public destructor Destroy; override;
 
Public 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.

Public procedure CreateNode; override;

Automatically generated node properties.

Do not edit this file manually! To add new properties: - add them to the text files in tools/internal/x3d-nodes-to-pascal/nodes-specification/ , - and regenerate include files by running x3d-nodes-to-pascal

Public class function ClassX3DType: string; override;
 
Public procedure SetControlPoints(const Value: array of TVector4); overload;
 
Public procedure SetControlPoints(const Value: TVector4List); overload;
 

Properties

Public property FdControlPoints: TMFVec4f read FFdControlPoints;

Internal wrapper for property ControlPoints. This wrapper API may change, we advise to access simpler ControlPoints instead.


Generated by PasDoc 0.16.0.