Search
Preparing search index...
The search index is not available
Spider Engine API
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
StaticMeshAsset
Class StaticMeshAsset
Hierarchy
GraphicAsset
StaticMeshAsset
Index
Constructors
constructor
Properties
deleted
id
is
Persistent
name
template
Path
Accessors
bounding
Box
vertex
Buffer
Methods
copy
deserialize
destroy
graphic
Load
graphic
Unload
isA
is
Loaded
save
serialize
set
Property
set
State
upgrade
Constructors
constructor
new
Static
Mesh
Asset
(
)
:
StaticMeshAsset
Returns
StaticMeshAsset
Properties
deleted
deleted
:
AsyncEvent
<
string
>
= new AsyncEvent<string>()
id
id
:
string
is
Persistent
is
Persistent
:
boolean
= false
name
name
:
string
Optional
template
Path
template
Path
:
undefined
|
string
Accessors
bounding
Box
get
boundingBox
(
)
:
AABB
Returns
AABB
vertex
Buffer
get
vertexBuffer
(
)
:
VertexBuffer
set
vertexBuffer
(
vb
:
VertexBuffer
)
:
void
Returns
VertexBuffer
Parameters
vb:
VertexBuffer
Returns
void
Methods
copy
copy
(
)
:
UniqueObject
Returns
UniqueObject
deserialize
deserialize
(
json
:
SerializedObjectType
)
:
Promise
<
SerializableObject
>
|
SerializableObject
Parameters
json:
SerializedObjectType
Returns
Promise
<
SerializableObject
>
|
SerializableObject
destroy
destroy
(
)
:
void
Returns
void
graphic
Load
graphic
Load
(
)
:
boolean
Returns
boolean
graphic
Unload
graphic
Unload
(
)
:
void
Returns
void
isA
isA<T>
(
type
:
object
)
:
boolean
Type parameters
T
Parameters
type:
object
constructor
:
function
new __type
(
...
args
:
any
[]
)
:
T
Parameters
Rest
...
args:
any
[]
Returns
T
Returns
boolean
is
Loaded
is
Loaded
(
)
:
boolean
Returns
boolean
save
save
(
folderPath
?:
undefined
|
string
)
:
void
Parameters
Optional
folderPath:
undefined
|
string
Returns
void
serialize
serialize
(
)
:
SerializedObjectType
Returns
SerializedObjectType
set
Property
set
Property
(
name
:
string
, value
:
any
)
:
void
Parameters
name:
string
value:
any
Returns
void
set
State
set
State<T>
(
props
:
ObjectProps
<
T
>
)
:
void
Type parameters
T
Parameters
props:
ObjectProps
<
T
>
Returns
void
upgrade
upgrade
(
json
:
SerializedObject
, previousVersion
:
number
)
:
SerializedObject
Parameters
json:
SerializedObject
previousVersion:
number
Returns
SerializedObject
Globals
Static
Mesh
Asset
constructor
deleted
id
is
Persistent
name
template
Path
bounding
Box
vertex
Buffer
copy
deserialize
destroy
graphic
Load
graphic
Unload
isA
is
Loaded
save
serialize
set
Property
set
State
upgrade