大约有 350 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0038 秒)
Laya_社区(97) Laya_示例(78) Laya2.0_示例(68) Laya3.0_api(55) Laya2.0_文档(35) Laya3.0_文档(6) laya_api(6) Laya2.0_api(5)
... cuixueying 赞同来自: 1、为你的Laya.init设置一个变量 var w:Number=500; var h:Number=400; Laya.init(w,h); 2/请为你的舞台监听Event.RESIZE事件,再Event.Resize下通过Browser.window.width和Browrowser.window.height获取屏幕宽高,将获取之后的宽高赋值给w...
来源: Laya_社区 发布时间: 20170209
.../models/PrimitiveMesh.ts:18 Returns void Static createBox createBox(long?: number, height?: number, width?: number): Mesh Defined in laya/d3/resource/models/PrimitiveMesh.ts:69 创建Box网格。 Parameters Default value long: number = 1 半径 Default value height: number = 1 垂直层数 Default v...
来源: Laya3.0_api 发布时间: 20231115
...Init(): void Defined in Laya3D.ts:249 Returns void Static init init(width: number, height: number, config?: any, complete?: Handler): void Defined in Laya3D.ts:243 初始化Laya3D相关设置。 deprecated use Laya.init instead. Parameters width: number height: number Default value config: any = nul...
来源: Laya3.0_api 发布时间: 20231115
...9 是否开启 Parameters value: boolean Returns void farEnd get farEnd(): number set farEnd(value: number): void Defined in laya/d3/core/render/PostEffect/GaussianDoF.ts:184 达到最大模糊半径的远景深度 Returns number Defined in laya/d3/core/render/PostEffect/GaussianDoF.ts:178 达到最...
来源: Laya3.0_api 发布时间: 20231115
...ckTestTool.ts:64 Returns QuickTestTool Properties _renderType _renderType: number Defined in laya/layagl/QuickTestTool.ts:61 _repaint _repaint: number Defined in laya/layagl/QuickTestTool.ts:62 _x _x: number Defined in laya/layagl/QuickTestTool.ts:63 _y _y: number Defined in laya/layagl/QuickTestToo...
来源: Laya3.0_api 发布时间: 20231115
...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_示例 发布时间: 20241118
...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_示例 发布时间: 20241118
...质量 Parameters value: AOQUALITY Returns void intensity get intensity(): number set intensity(value: number): void Defined in laya/d3/core/render/PostEffect/ScalableAO.ts:176 ao intensity Returns number Defined in laya/d3/core/render/PostEffect/ScalableAO.ts:171 ao intensity Parameters value: numb...
来源: Laya3.0_api 发布时间: 20231115
...ameters value: boolean Returns void anamorphicRatio get anamorphicRatio(): number set anamorphicRatio(value: number): void Defined in laya/d3/core/render/PostEffect/BloomEffect.ts:340 获取形变比,通过扭曲泛光产生视觉上形变,负值为垂直扭曲,正值为水平扭曲。-1 - 1 Returns...
来源: Laya3.0_api 发布时间: 20231115
...ers owner: TrailRenderer Returns TrailFilter Properties _curtime _curtime: number = 0 Defined in laya/d3/core/trail/TrailFilter.ts:65 _lastPosition _lastPosition: Vector3 = new Vector3() Defined in laya/d3/core/trail/TrailFilter.ts:63 _ownerRender _ownerRender: TrailRenderer Defined in laya/d3/core/...
来源: Laya3.0_api 发布时间: 20231115