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

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

261. laya.d3.resource.models.Mesh_API3.0 [ 52%]

...rce/models/Mesh.ts:196 创建一个 Mesh 实例,禁止使用。 Parameters Default value isReadable: boolean = true 是否可读。 Returns Mesh Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inher...

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

262. laya.ui.Tree_API3.0 [ 52%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

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

263. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 52%]

...non/CannonRigidbody3D.ts:223 创建一个 RigidBody3D 实例。 Parameters Default value collisionGroup: number = -1 所属碰撞组。 Default value canCollideWith: number = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER 可产生碰撞的碰撞组。 Returns CannonRigidbody3D Properties Optional _e...

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

264. laya.resource.Resource_API3.0 [ 52%]

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

265. 如何使用vscode编译laya项目 [ 52%]

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

266. laya.physics.Physics_API3.0 [ 52%]

...lse 自己控制物理更新时机,自己调用Physics.update Parameters Default value options: any = null Returns void stop stop(): void Defined in laya/physics/Physics.ts:188 停止物理世界 Returns void updatePhysicsByWorldRoot updatePhysicsByWorldRoot(): void Defined in laya/physics/Physics...

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

267. 分享:关于自定义场景继承的实现 [ 52%]

...自CustomScene。 MyScene.tsimport { ui } from "../ui/layaMaxUI"; export default class MyScene extends ui.CustomSceneUI{ constructor(){ super(); console.log(this.txt_hello.text); } } 设置CustomScene的runtime为刚刚创建的MyScene类,并创建一个var为txt_hello的文本,用来测试MySce...

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

268. 构建apk后,java报错 [ 51%]

...manager: getTransport: Cannot find entry vendor.qti.hardware.iop@1.0::IIop/default in either framework or device manifest. 2018-11-26 18:35:10.494 1505-2448/? E/ANDR-PERF-JNI: Iop tryGetService failed 2018-11-26 18:35:10.497 1505-2448/? W/WindowManager: Attempted to set focus to non-existing app tok...

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

269. laya.resource.NativeContext_API3.0 [ 51%]

...UFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTALIGN_RIGHT const2DRenderCMD Accessors _curMat _targets asBitmap fillStyle globalAlpha globalCompositeOperation isMain Methods _drawCircle _drawLine _drawLines _drawPath _drawPie _drawPoly _drawTextureM _init...

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

270. laya.ui.CheckBox_API3.0 [ 51%]

...a/ui/CheckBox.ts:83 创建一个新的 CheckBox 组件实例。 Parameters Default value skin: string = null 皮肤资源地址。 Default value label: string = "" 文本标签的内容。 Returns CheckBox Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from ...

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