Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.0
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.1
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
spine
SkeletonTexture
Class SkeletonTexture
Hierarchy
Texture
SkeletonTexture
Index
Constructors
constructor
Properties
_image
_material
_texture
name
Methods
dispose
get
Image
get
Real
Texture
set
Filters
set
Real
Texture
set
Wraps
filter
From
String
wrap
From
String
Constructors
constructor
new
Skeleton
Texture
(
opt
:
ImageBitmap
|
HTMLImageElement
)
:
SkeletonTexture
Parameters
opt:
ImageBitmap
|
HTMLImageElement
Returns
SkeletonTexture
Properties
Protected
_image
_image
:
HTMLImageElement
|
ImageBitmap
_material
_material
:
Material
|
null
= null
_texture
_texture
:
Texture2D
|
ImageAsset
|
null
= null
name
name
:
string
= "sp.SkeletonTexture"
Methods
dispose
dispose
(
)
:
void
Returns
void
get
Image
get
Image
(
)
:
HTMLImageElement
|
ImageBitmap
Returns
HTMLImageElement
|
ImageBitmap
get
Real
Texture
get
Real
Texture
(
)
:
Texture2D
|
null
Returns
Texture2D
|
null
set
Filters
set
Filters
(
minFilter
:
TextureFilter
, magFilter
:
TextureFilter
)
:
void
Parameters
minFilter:
TextureFilter
magFilter:
TextureFilter
Returns
void
set
Real
Texture
set
Real
Texture
(
tex
:
Texture2D
)
:
void
Parameters
tex:
Texture2D
Returns
void
set
Wraps
set
Wraps
(
uWrap
:
TextureWrap
, vWrap
:
TextureWrap
)
:
void
Parameters
uWrap:
TextureWrap
vWrap:
TextureWrap
Returns
void
Static
filter
From
String
filter
From
String
(
text
:
string
)
:
TextureFilter
Parameters
text:
string
Returns
TextureFilter
Static
wrap
From
String
wrap
From
String
(
text
:
string
)
:
TextureWrap
Parameters
text:
string
Returns
TextureWrap
Globals
spine
Skeleton
Texture
constructor
_image
_material
_texture
name
dispose
get
Image
get
Real
Texture
set
Filters
set
Real
Texture
set
Wraps
filter
From
String
wrap
From
String
Generated using
TypeDoc