案例展示
开发工具
文档
教程
在线开发
登录
注册
案例展示
开发工具
文档
教程
在线开发
Common API
Client Global(client)
Codec
Event
Luajit
Mysql(server)
Network
Queue
Remote
Server(server)
Sql
Zip
Client API
_AmbientLight
_Animation
_Application
_Archive
_Area
_Barcode
_Blender
_Cache
_Camera
_Clipper
_Collision
_Color
_Console
_Curve
_Database
_Debug
_DrawBoard
_File
_Filter
_Fog
_Font
_GraphicsData
_GraphicsEvent
_Grass
_Image
_InAppPurchase
_Indicator
_Loader
_Mask
_Material
_Matrix2D
_Matrix3D
_Mesh
_ModelFactory
_Movie
_MovieAction
_MovieStep
_Notification
_Orbit
_Particle
_ParticleEmitter
_ParticleGravity
_ParticleParam
_ParticlePlayer
_PathBuilder
_PathFinder
_PointLight
_Rect
_RenderDevice
_RenderMethod
_Scene
_SceneNode
_Skeleton
_SkyDome
_SkyLight
_Socket
_SoundDevice
_SoundGroup
_SoundRecord
_SpotLight
_String
_SWFComponent
_SWFManager
_System
_Terrain
_Timer
_Vector2
_Vector3
_Video
_Water
Fancy Tool
3ds Max plug-in
Loader
_GDI(客户端Loader)
_SkyDome
天空盒类。
全部展开
目录
隐藏
1.构造方法
2.公共方法
构造方法
展开
+
function
_SkyDome
([resname :
string
]) :
_SkyDome
参数
resname : 立方体贴图的资源文件名。
示例
skyDome =
_SkyDome
.new('res')
公共方法
展开
+
function
draw()
渲染天空盒。
示例
skyDome:draw()
+
function
setSkyMap(res :
string
)
设置天空盒的贴图。
参数
res : 立方体贴图的文件名。
示例
skyDome:setSkyMap('sky.map')
问题反馈(登录才可以发表哦!)