Method | Defined By | ||
---|---|---|---|
Laya3D()
创建一个 Laya3D 实例。
| Laya3D | ||
_getMaterialTexturePath(path:String, urlVersion:String, materialBath:String):String [static]
private
| Laya3D | ||
init(width:Number, height:Number, antialias:Boolean = false, alpha:Boolean = false, premultipliedAlpha:Boolean = true, stencil:Boolean = true):void [static]
初始化Laya3D相关设置。
| Laya3D |
Laya3D | () | Constructor |
public function Laya3D()
创建一个 Laya3D
实例。
_getMaterialTexturePath | () | method |
public static function _getMaterialTexturePath(path:String, urlVersion:String, materialBath:String):String
private
Parameters
path:String | |
urlVersion:String | |
materialBath:String |
String |
init | () | method |
public static function init(width:Number, height:Number, antialias:Boolean = false, alpha:Boolean = false, premultipliedAlpha:Boolean = true, stencil:Boolean = true):void
初始化Laya3D相关设置。
Parameters
width:Number — 3D画布宽度。
| |
height:Number — 3D画布高度。
| |
antialias:Boolean (default = false )
| |
alpha:Boolean (default = false )
| |
premultipliedAlpha:Boolean (default = true )
| |
stencil:Boolean (default = true )
|