大约有 337 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0094 秒)
...明。更改alpha值会影响drawcall。Sprite ambientColor : Vector3 获取环境光颜色。 Scene autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 currentCreationLayer currentCreationLayer: number = Math.pow(2, 0) Defined in laya/d3/core/scene/Sc...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in lay...
来源: Laya3.0_api 发布时间: 20231102
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...物品相交,画三面边线 if(this.hit.sprite3D) { //从碰撞信息中获取碰撞处的三角面顶点 var trianglePositions:Array<any>= this.hit.trianglePositions; //矢量绘制三角面边线 this.phasorSprite3D.line(trianglePositions[0], new Laya.Vector4(1,0,0,1), trianglePositions[1],...
来源: Laya_社区 发布时间: 20181020
...this.index].x; this._position.z = this.resPath[this.index++].y; //HeightMap获取高度数据 this._position.y = this.terrainSprite.getHeight(this._position.x, this._position.z); if (isNaN(this._position.y)) { this._position.y = this.moveSprite3D.transform.position.y; } this._tarPosition.x = this._p...
来源: Laya3.0_文档 发布时间: 20230303
...动端不显示模型,但是顶点数面数都有 分享:LayaAir下如何获取图集下的小图资源? 自定义场景类导出layaMaxUI.ts有前缀导致报错 自定义组件如何实现图片资源拖动获取路径 FaceBook iPhone X 适配(其他正常) 问题状态 最新活动: 2018-...
来源: Laya_社区 发布时间: 20180619