• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 447 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)

111. prop 识别不到 [ 63%]

...但vscode报未定义,IDE F8编译时也不通过   代码: export default class Index extends Laya.Script {     /* @prop {name: speed, tips: "速度", type: Number, default: 10} */      constructor() {         super();     }      onAwake() {     ...

来源: Laya_社区 发布时间: 20191227

112. laya.display.Node_API3.0 [ 62%]

...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

113. 2.0 Beta3版本中,runtime脚本的的问题 [ 62%]

...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

114. runTime使用(JavaScript-IDE篇(JS)-组件化开发相关) [ 62%]

...似按钮)的功能,全部代码如下所示: ```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

115. laya.d3.core.particleshuriken.module.shape.CircleShape_API3.0 [ 62%]

...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

116. laya.d3.resource.RenderTexture_API3.0 [ 62%]

...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

117. laya.resource.RenderTexture_API3.0 [ 62%]

...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

118. layaMaxUI里面的ui继承不到 [ 62%]

...关的链接 提交 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

119. laya.d3.core.scene.bvh.BVHSpatial_API3.0 [ 62%]

...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

120. laya.d3.component.AnimatorState_API3.0 [ 62%]

.../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