大约有 447 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
...但vscode报未定义,IDE F8编译时也不通过 代码: export default class Index extends Laya.Script { /* @prop {name: speed, tips: "速度", type: Number, default: 10} */ constructor() { super(); } onAwake() { ...
来源: Laya_社区 发布时间: 20191227
...rs method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.time...
来源: Laya3.0_api 发布时间: 20231115
...geRunTime from "./game/ImageRunTime" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:a...
来源: Laya_社区 发布时间: 20181014
...似按钮)的功能,全部代码如下所示: ```typescript export default class ImageRunTime extends Laya.Image{ constructor(){ super(); this.scaleTime = 100; //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya...
来源: Laya2.0_文档 发布时间: 20210715
...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/CircleShape" CircleShape constructor arc emitFromEdge enable radius randomDirectio...
来源: Laya3.0_api 发布时间: 20231115
...BUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dimension filterMode format gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount multiSamp...
来源: Laya3.0_api 发布时间: 20231102
...BUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dimension filterMode format gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount multiSamp...
来源: Laya3.0_api 发布时间: 20231115
...关的链接 提交 2 个回复 tea 赞同来自: 不清楚为啥 export default class gameMain extends ui.test.gameMain 这样也不行 2018-11-15 0 0 分享 微博 QZONE 微信 lsx968542 赞同来自: 是不是没有导入文件 import { ui } from "./ui/layaMaxUI"; 2018-11-16 0 1 分享 微博 Q...
来源: Laya_社区 发布时间: 20181115
...n laya/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Defined in laya/d3/core/scen...
来源: Laya3.0_api 发布时间: 20231115
.../d3/component/AnimatorState.ts:100 implements IReferenceCounter Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Implementation of IReferenceCounter._clearReference Defined in laya/d3/component/AnimatorState.ts:116 implements IReferenceCounter Returns v...
来源: Laya3.0_api 发布时间: 20231102