大约有 146 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0039 秒)
...):voidTerrainLeaf calcLeafBoudingSphere(worldMatrix:Matrix4x4, maxScale:Number):voidTerrainLeaf calcLODErrors(terrainHeightData:Float32Array, heighDataWidth:int, heightDataHeight:int):voidTerrainLeaf calcOriginalBoudingBoxAndSphere():voidTerrainLeaf calcSkirtVertextBuffer(offsetChunkX:in...
来源: Laya2.0_api 发布时间: 20190513
...gments:Array = []; private foods:Array = []; private initialSegmentsAmount:number = 5; private vx:number = 0 private vy:number = 0; private targetPosition:Point; constructor() { Laya.init(Browser.width, Browser.height, WebGL); // 初始化蛇 this.initSnake(); // 监视加速器状态 Accelerator.in...
来源: Laya_示例 发布时间: 20241117
...gments:Array = []; private foods:Array = []; private initialSegmentsAmount:number = 5; private vx:number = 0 private vy:number = 0; private targetPosition:Point; constructor() { Laya.init(Browser.width, Browser.height, WebGL); // 初始化蛇 this.initSnake(); // 监视加速器状态 Accelerator.in...
来源: Laya2.0_示例 发布时间: 20241117
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: laya_api 发布时间: 20170929
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: Laya2.0_api 发布时间: 20190513
... this.onUIAssetsLoaded)); } private onUIAssetsLoaded(): void { for (var i: number = 0, len = this.skins.length; i < len; ++i) { var btn: Button = this.createButton(this.skins[i]); var x: number = i % this.COLUMNS * this.HORIZONTAL_SPACING + this.xOffset; var y: number = (i / this.COLUMNS | 0) * this...
来源: Laya2.0_示例 发布时间: 20241117
... this.onUIAssetsLoaded)); } private onUIAssetsLoaded(): void { for (var i: number = 0, len = this.skins.length; i < len; ++i) { var btn: Button = this.createButton(this.skins[i]); var x: number = i % this.COLUMNS * this.HORIZONTAL_SPACING + this.xOffset; var y: number = (i / this.COLUMNS | 0) * this...
来源: Laya_示例 发布时间: 20241117
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: Laya2.0_api 发布时间: 20190513
...{ private texturePath:string = "../../res/tinyMaggot.png"; private padding:number = 100; private maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBounds:Rectangle; private maggotTexture:any; constructor() { Laya.init(Browser.width,Browser.height, WebGL); L...
来源: Laya_示例 发布时间: 20241117
...ggots { private texturePath:string = "res/tinyMaggot.png"; private padding:number = 100; private maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBounds:Rectangle; private maggotTexture:any; constructor() { Laya.init(Browser.width,Browser.height, WebGL); L...
来源: Laya2.0_示例 发布时间: 20241117