mirror of https://github.com/axmolengine/axmol.git
update interface for gamenode3d
This commit is contained in:
parent
650a5c2318
commit
c998639c30
|
@ -62,8 +62,8 @@ namespace cocostudio
|
||||||
|
|
||||||
return _instanceNode3DReader;
|
return _instanceNode3DReader;
|
||||||
}
|
}
|
||||||
static CameraBackgroundSkyBoxBrush* _sceneBrushInstance = nullptr;
|
static CameraBackgroundBrush* _sceneBrushInstance = nullptr;
|
||||||
CameraBackgroundSkyBoxBrush* GameNode3DReader::getSceneBrushInstance()
|
CameraBackgroundBrush* GameNode3DReader::getSceneBrushInstance()
|
||||||
{
|
{
|
||||||
return _sceneBrushInstance;
|
return _sceneBrushInstance;
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ namespace cocostudio
|
||||||
~GameNode3DReader();
|
~GameNode3DReader();
|
||||||
|
|
||||||
static GameNode3DReader* getInstance();
|
static GameNode3DReader* getInstance();
|
||||||
static cocos2d::CameraBackgroundSkyBoxBrush* getSceneBrushInstance();
|
static cocos2d::CameraBackgroundBrush* getSceneBrushInstance();
|
||||||
/** @deprecated Use method destroyInstance() instead */
|
/** @deprecated Use method destroyInstance() instead */
|
||||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||||
static void destroyInstance();
|
static void destroyInstance();
|
||||||
|
|
Loading…
Reference in New Issue