大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
... case 'left': default : break ; } y+=this._charSize.height; this._graphics.drawLine(x,y,x+lineWidth,y,this.underlineCol...
来源: Laya_社区 发布时间: 20171019
...改源码,现在有插件开发,修改源码会有问题): export default class GifView extends Laya.Clip { /** *开始帧位置 * * @private * @memberof GifView */ private frameIndex = 0; /** *...
来源: Laya_社区 发布时间: 20201211
...ight))的代码来做讲解: > 移动灯光脚本 ```typescript export default class LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = []; publ...
来源: Laya2.0_文档 发布时间: 20210715
...ight))的代码来做讲解: > 移动灯光脚本 ```typescript export default class LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = []; publ...
来源: Laya2.0_文档 发布时间: 20210715
...); } } } 扩展UI代码: import { ui } from "../ui/layaMaxUI"; export default class AttackView extends ui.AttackUI { constructor() { super(); this.btn_attack.on("click", this, this.onAttack); } private onAttack(): void { // TODO } } 上面代码,btn_attack 按钮是 undefined 对象,没有...
来源: Laya_社区 发布时间: 20180926
...umber):Boolean Parameters ray:Ray hitInfo:RaycastHit maxDistance:Number (default = NaN)ReturnsBooleanFri Sep 29 2017, 06:34 PM +08:00
来源: laya_api 发布时间: 20170929
...(count?: number): void Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Defined in laya/r...
来源: Laya3.0_api 发布时间: 20231115
Laya2.7.1 射线提示rayCast未定义 export default class click3d extends Laya.Script3D{ constructor() { super(); //创建场景 this.scene = Laya.stage.addChild(new Laya.Scene3D()); //添加相机 this.camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(...
来源: Laya_社区 发布时间: 20200801
...子对象及从父节点移除自己。 Parameters destroyChild:Boolean (default = true) — (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 destroyChildren()method override public function destroyChildren():void 销毁所有子对象,不...
来源: Laya2.0_api 发布时间: 20190513
...compilerOptions:{removeComments: true}}, include:/.*.ts/, }), glsl({ // By default, everything gets included include: /.*(.glsl|.vs|.fs)$/, sourceMap: false, compress:false }), /*terser({ output: { }, numWorkers:1,//Amount of workers to spawn. Defaults to the number of CPUs minus 1 sourcemap: false ...
来源: Laya_社区 发布时间: 20200607