大约有 329 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
... laya/ui/ScrollBar.ts:97 创建一个新的 ScrollBar 实例。 Parameters Default value skin: string = null 皮肤资源地址。 Returns VScrollBar Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters target: Vector3 观察目标。 up: Vector3 向上向量。 Default value isLocal: boolean = false 是否局部空间。 Default value isCamera: boolean = true Returns void objLookat objLookat(target: Vector3, up: Vector3, isLocal?: boolean): void Defined in laya/d3/core/Transform3D.t...
来源: Laya3.0_api 发布时间: 20231115
...in laya/ui/Button.ts:212 创建一个新的 Button 类实例。 Parameters Default value skin: string = null 皮肤资源地址。 Default value label: string = "" 按钮的文本内容。 Returns Button Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from No...
来源: Laya3.0_api 发布时间: 20231115
..."spine4.1/role.json"; // 设置Spine动画数据源 this.spine.skinName = "default"; // 设置皮肤名称 this.spine.play("att", true); // 播放名称为"att"的攻击动画,true表示循环播放 this.btn.on(Laya.Event.CLICK, this, this.changeAttachment); //监听点击事件,触发切换武...
来源: Laya3.0_文档 发布时间: 20251128
...ed in laya/ui/Radio.ts:12 创建一个新的 Radio 类实例。 Parameters Default value skin: string = null 皮肤。 Default value label: string = "" 标签。 Returns Radio Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/di...
来源: Laya3.0_api 发布时间: 20231115
...derShape.ts:22 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Returns SphereColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CompoundColliderShape.needsCustomCollisionCallback ...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...derShape.ts:16 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Returns CannonSphereColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CannonColliderShape.needsCustomCollisionCallb...
来源: Laya3.0_api 发布时间: 20231102
...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
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115