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

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

271. new Laya.Sprite();绘制图形以后,怎么删除释放资源? [ 73%]

...时可以不用再使用clear。因为destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。但是要谨慎使用,destroy后不能再使用创建的这个对象。 destroy时会移除自身的事件监听,自身的timer监...

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

272. laya.ani.swf.MovieClip_API3.0 [ 73%]

...herited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSiz...

来源: Laya3.0_api 发布时间: 20231115

273. laya.components.Script_API3.0 [ 73%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Sprite | Sprite3D Overrides Component.owner Defined in laya/components/Script.ts:14 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Define...

来源: Laya3.0_api 发布时间: 20231115

274. laya.ui.Slider [ 73%]

...all,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite cacheAsBitmap : Boolean 指定显示对象是否缓存为静态图像。功能同c...

来源: laya_api 发布时间: 20170929

275. laya.d3.core.light.Light_API3.0 [ 73%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属N...

来源: Laya3.0_api 发布时间: 20231115

276. laya.physics.joint.PrismaticJoint_API3.0 [ 72%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/PrismaticJoint.ts:18 [首次设置有效]关节的控制点,是相对于自身刚体的左上角位置偏移 axis axis: ...

来源: Laya3.0_api 发布时间: 20231115

277. laya.d3.core.scene.Scene [ 72%]

...all,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite cacheAsBitmap : Boolean 指定显示对象是否缓存为静态图像。功能同c...

来源: laya_api 发布时间: 20170929

278. laya.d3.component.LODGroup_API3.0 [ 72%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...

来源: Laya3.0_api 发布时间: 20231115

279. laya.components.CommonScript_API3.0 [ 72%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...

来源: Laya3.0_api 发布时间: 20231102

280. laya.d3.physics.PhysicsComponent_API3.0 [ 72%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner Defined in ...

来源: Laya3.0_api 发布时间: 20231115