Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
RWGltf_GltfMaterialMap
Class RWGltf_GltfMaterialMap
Hierarchy
RWMesh_MaterialMap
RWGltf_GltfMaterialMap
Index
Constructors
constructor
Methods
Add
Glb
Images
Add
Images
Add
Material
Add
Material_
1
Add
Textures
Copy
Texture
Create
Texture
Folder
Decrement
Ref
Counter
Default
Style
Define
Material
Delete
Dynamic
Type
Find
Material
Flush
Glb
Buffer
Views
Flush
Glb
Images
Get
Ref
Count
Increment
Ref
Counter
Is
Failed
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Nb
Images
Nb
Textures
Set
Default
Style
This
delete
base
Color
Texture
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new RWGltf_
Gltf
Material
Map
(
theFile
:
XCAFDoc_PartId
, theDefSamplerId
:
Graphic3d_ZLayerId
)
:
RWGltf_GltfMaterialMap
Parameters
theFile:
XCAFDoc_PartId
theDefSamplerId:
Graphic3d_ZLayerId
Returns
RWGltf_GltfMaterialMap
Methods
Add
Glb
Images
Add
Glb
Images
(
theBinFile
:
Standard_OStream
, theStyle
:
XCAFPrs_Style
)
:
void
Parameters
theBinFile:
Standard_OStream
theStyle:
XCAFPrs_Style
Returns
void
Add
Images
Add
Images
(
theWriter
:
RWGltf_GltfOStreamWriter
, theStyle
:
XCAFPrs_Style
, theIsStarted
:
boolean
)
:
void
Parameters
theWriter:
RWGltf_GltfOStreamWriter
theStyle:
XCAFPrs_Style
theIsStarted:
boolean
Returns
void
Add
Material
Add
Material
(
theStyle
:
XCAFPrs_Style
)
:
XCAFDoc_PartId
Parameters
theStyle:
XCAFPrs_Style
Returns
XCAFDoc_PartId
Add
Material_
1
Add
Material_
1
(
theWriter
:
RWGltf_GltfOStreamWriter
, theStyle
:
XCAFPrs_Style
, theIsStarted
:
boolean
)
:
void
Parameters
theWriter:
RWGltf_GltfOStreamWriter
theStyle:
XCAFPrs_Style
theIsStarted:
boolean
Returns
void
Add
Textures
Add
Textures
(
theWriter
:
RWGltf_GltfOStreamWriter
, theStyle
:
XCAFPrs_Style
, theIsStarted
:
boolean
)
:
void
Parameters
theWriter:
RWGltf_GltfOStreamWriter
theStyle:
XCAFPrs_Style
theIsStarted:
boolean
Returns
void
Copy
Texture
Copy
Texture
(
theResTexture
:
XCAFDoc_PartId
, theTexture
:
any
, theKey
:
XCAFDoc_PartId
)
:
boolean
Parameters
theResTexture:
XCAFDoc_PartId
theTexture:
any
theKey:
XCAFDoc_PartId
Returns
boolean
Create
Texture
Folder
Create
Texture
Folder
(
)
:
boolean
Returns
boolean
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Default
Style
Default
Style
(
)
:
XCAFPrs_Style
Returns
XCAFPrs_Style
Define
Material
Define
Material
(
theStyle
:
XCAFPrs_Style
, theKey
:
XCAFDoc_PartId
, theName
:
XCAFDoc_PartId
)
:
void
Parameters
theStyle:
XCAFPrs_Style
theKey:
XCAFDoc_PartId
theName:
XCAFDoc_PartId
Returns
void
Delete
Delete
(
)
:
void
Returns
void
Dynamic
Type
Dynamic
Type
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Find
Material
Find
Material
(
theStyle
:
XCAFPrs_Style
)
:
XCAFDoc_PartId
Parameters
theStyle:
XCAFPrs_Style
Returns
XCAFDoc_PartId
Flush
Glb
Buffer
Views
Flush
Glb
Buffer
Views
(
theWriter
:
RWGltf_GltfOStreamWriter
, theBinDataBufferId
:
Graphic3d_ZLayerId
, theBuffViewId
:
Graphic3d_ZLayerId
)
:
void
Parameters
theWriter:
RWGltf_GltfOStreamWriter
theBinDataBufferId:
Graphic3d_ZLayerId
theBuffViewId:
Graphic3d_ZLayerId
Returns
void
Flush
Glb
Images
Flush
Glb
Images
(
theWriter
:
RWGltf_GltfOStreamWriter
)
:
void
Parameters
theWriter:
RWGltf_GltfOStreamWriter
Returns
void
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Is
Failed
Is
Failed
(
)
:
boolean
Returns
boolean
Is
Instance_
1
Is
Instance_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Instance_
2
Is
Instance_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Kind_
1
Is
Kind_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Kind_
2
Is
Kind_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Nb
Images
Nb
Images
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Nb
Textures
Nb
Textures
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Set
Default
Style
Set
Default
Style
(
theStyle
:
XCAFPrs_Style
)
:
void
Parameters
theStyle:
XCAFPrs_Style
Returns
void
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
delete
delete
(
)
:
void
Returns
void
Static
base
Color
Texture
base
Color
Texture
(
theMat
:
Handle_XCAFDoc_VisMaterial
)
:
any
Parameters
theMat:
Handle_XCAFDoc_VisMaterial
Returns
any
Static
get_
type_
descriptor
get_
type_
descriptor
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Static
get_
type_
name
get_
type_
name
(
)
:
number
Returns
number
Exports
RWGltf_
Gltf
Material
Map
constructor
Add
Glb
Images
Add
Images
Add
Material
Add
Material_
1
Add
Textures
Copy
Texture
Create
Texture
Folder
Decrement
Ref
Counter
Default
Style
Define
Material
Delete
Dynamic
Type
Find
Material
Flush
Glb
Buffer
Views
Flush
Glb
Images
Get
Ref
Count
Increment
Ref
Counter
Is
Failed
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Nb
Images
Nb
Textures
Set
Default
Style
This
delete
base
Color
Texture
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc