Preparing search index...
The search index is not available
API
API
PiecewiseBezier
Class PiecewiseBezier
Hierarchy (
view full
)
PiecewiseFunction
<
Bezier
>
PiecewiseBezier
Implements
FunctionValueGenerator
Index
Constructors
constructor
Properties
functions
type
Accessors
num
Of
Functions
Methods
clone
find
Function
gen
Value
get
EndX
get
Function
get
StartX
insert
Function
remove
Function
set
EndX
set
Function
set
StartX
toJSON
toSVG
fromJSON
Constructors
constructor
new
Piecewise
Bezier
(
curves
?
)
:
PiecewiseBezier
Parameters
curves
:
[
Bezier
,
number
]
[]
= ...
Returns
PiecewiseBezier
Properties
functions
functions
:
[
Bezier
,
number
]
[]
type
type
:
"function"
Accessors
num
Of
Functions
get
numOfFunctions
(
)
:
number
Returns
number
Methods
clone
clone
(
)
:
FunctionValueGenerator
Returns
FunctionValueGenerator
find
Function
find
Function
(
t
)
:
number
Parameters
t
:
number
Returns
number
gen
Value
gen
Value
(
t
?
)
:
number
Parameters
t
:
number
= 0
Returns
number
get
EndX
get
EndX
(
index
)
:
number
Parameters
index
:
number
Returns
number
get
Function
get
Function
(
index
)
:
Bezier
Parameters
index
:
number
Returns
Bezier
get
StartX
get
StartX
(
index
)
:
number
Parameters
index
:
number
Returns
number
insert
Function
insert
Function
(
t
,
func
)
:
void
Parameters
t
:
number
func
:
Bezier
Returns
void
remove
Function
remove
Function
(
index
)
:
Bezier
Parameters
index
:
number
Returns
Bezier
set
EndX
set
EndX
(
index
,
x
)
:
void
Parameters
index
:
number
x
:
number
Returns
void
set
Function
set
Function
(
index
,
func
)
:
void
Parameters
index
:
number
func
:
Bezier
Returns
void
set
StartX
set
StartX
(
index
,
x
)
:
void
Parameters
index
:
number
x
:
number
Returns
void
toJSON
toJSON
(
)
:
FunctionJSON
Returns
FunctionJSON
toSVG
toSVG
(
length
,
segments
)
:
string
Parameters
length
:
number
segments
:
number
Returns
string
Static
fromJSON
fromJSON
(
json
)
:
PiecewiseBezier
Parameters
json
:
FunctionJSON
Returns
PiecewiseBezier
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
functions
type
num
Of
Functions
clone
find
Function
gen
Value
get
EndX
get
Function
get
StartX
insert
Function
remove
Function
set
EndX
set
Function
set
StartX
toJSON
toSVG
fromJSON
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...