@cccode/fxr - v31.0.0
Preparing search index...
IProperty
Interface IProperty<T, F>
interface
IProperty
<
T
extends
Tensor
,
F
extends
PropertyFunction
>
{
componentCount
:
number
;
fieldCount
:
number
;
fields
:
NumericalField
[]
;
function
:
F
;
valueType
:
ValueTypeOfTensor
<
T
>
;
add
(
summand
:
number
|
T
)
:
this
;
clone
()
:
IProperty
<
T
,
F
>
;
for
(
game
:
Game
)
:
IProperty
<
T
,
F
>
;
max
()
:
T
;
min
()
:
T
;
minify
()
:
IProperty
<
T
,
PropertyFunction
>
;
scale
(
factor
:
number
|
T
)
:
this
;
separateComponents
()
:
IProperty
<
number
,
F
>
[]
;
serialize
(
options
?:
FXRSerializeOptions
)
:
any
;
toJSON
()
:
any
;
valueAt
(
arg
:
number
)
:
T
;
}
Type Parameters
T
extends
Tensor
F
extends
PropertyFunction
Hierarchy (
View Summary
)
IProperty
IModifiableProperty
Index
Properties
component
Count
field
Count
fields
function
value
Type
Methods
add
clone
for
max
min
minify
scale
separate
Components
serialize
to
JSON
value
At
Properties
component
Count
componentCount
:
number
field
Count
fieldCount
:
number
fields
fields
:
NumericalField
[]
function
function
:
F
value
Type
valueType
:
ValueTypeOfTensor
<
T
>
Methods
add
add
(
summand
:
number
|
T
)
:
this
Parameters
summand
:
number
|
T
Returns
this
clone
clone
()
:
IProperty
<
T
,
F
>
Returns
IProperty
<
T
,
F
>
for
for
(
game
:
Game
)
:
IProperty
<
T
,
F
>
Parameters
game
:
Game
Returns
IProperty
<
T
,
F
>
max
max
()
:
T
Returns
T
min
min
()
:
T
Returns
T
minify
minify
()
:
IProperty
<
T
,
PropertyFunction
>
Returns
IProperty
<
T
,
PropertyFunction
>
scale
scale
(
factor
:
number
|
T
)
:
this
Parameters
factor
:
number
|
T
Returns
this
separate
Components
separateComponents
()
:
IProperty
<
number
,
F
>
[]
Returns
IProperty
<
number
,
F
>
[]
serialize
serialize
(
options
?:
FXRSerializeOptions
)
:
any
Parameters
Optional
options
:
FXRSerializeOptions
Returns
any
to
JSON
toJSON
()
:
any
Returns
any
value
At
valueAt
(
arg
:
number
)
:
T
Parameters
arg
:
number
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
component
Count
field
Count
fields
function
value
Type
Methods
add
clone
for
max
min
minify
scale
separate
Components
serialize
to
JSON
value
At
FXR Playground
Support me on Ko-fi
@cccode/fxr - v31.0.0
Loading...