Preparing search index...
The search index is not available
Pictofit Web SDK - v22.3.0
Pictofit Web SDK - v22.3.0
JSONAssetMaterial
Class JSONAssetMaterial
Hierarchy
JSONAssetMaterial
Implements
IMaterial
Index
Constructors
constructor
Accessors
asset
uuid
Methods
create
Material
destroy
Material
preload
Components
create
FromJSON
Constructors
constructor
new JSONAsset
Material
(
materialJsonAssetKey
:
string
, asset
:
IAsset
)
:
JSONAssetMaterial
Parameters
materialJsonAssetKey:
string
asset:
IAsset
Returns
JSONAssetMaterial
Accessors
asset
get
asset
(
)
:
IAsset
Returns
IAsset
uuid
get
uuid
(
)
:
string
Returns
string
Methods
create
Material
create
Material
(
webViewer
:
WebViewer
)
:
Promise
<
Material
>
Parameters
webViewer:
WebViewer
Returns
Promise
<
Material
>
destroy
Material
destroy
Material
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
preload
Components
preload
Components
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Static
create
FromJSON
create
FromJSON
(
json
:
object
, additionalBlobs
?:
{
blob
:
Blob
;
key
:
string
;
}
[]
)
:
JSONAssetMaterial
Parameters
json:
object
additionalBlobs:
{
blob
:
Blob
;
key
:
string
;
}
[]
= []
Returns
JSONAssetMaterial
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
Pictofit
Web SDK -
v22.3.0
Asset
Factory2D
Asset
Factory3D
Asset
Factory
Factory
Dressing
Room
Logic
Factory
Virtual
Dressing
Room
Factory
JSONAsset
Material
constructor
asset
uuid
create
Material
destroy
Material
preload
Components
create
FromJSON
Generated using
TypeDoc