大约有 453 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)
Laya_社区(121) Laya3.0_api(116) Laya2.0_api(72) Laya2.0_文档(55) laya_api(50) Laya3.0_文档(38) Laya2.0_示例(1)
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...接手机进行调试。 在vivo小游戏发布前,需要先进行通用设置。 二、发布为vivo小游戏 2.1 选择目标平台 在构建发布面板中,侧边栏选择目标平台为vivo小游戏。如图2-1所示, (图2-1) 点击“构建vivo小游戏”,或“构建其它”选...
来源: Laya3.0_文档 发布时间: 20251010
...any[] | null, once?: boolean): Handler Defined in laya/utils/Handler.ts:44 设置此对象的指定属性值。 Parameters caller: any 执行域(this)。 method: Function | null 回调方法。 args: any[] | null 携带的参数。 Default value once: boolean = false 是否只执行一次,如果...
来源: Laya3.0_api 发布时间: 20231115
...currentTime(value: number): void Defined in laya/media/VideoTexture.ts:277 设置和获取当前播放头位置。 Returns number Defined in laya/media/VideoTexture.ts:281 设置和获取当前播放头位置。 Parameters value: number Returns void defaultTexture get defaultTexture(): Texture2D Ove...
来源: Laya3.0_api 发布时间: 20231115
...t 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...
来源: Laya2.0_api 发布时间: 20190513
...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115
...源面板里选择拖入一个 Label 组件,到编辑区的界面里,设置 Label 属性 name 的值为 m_label。另外再设置一下 Label 的显示相关属性使它更好看一些。 **b.**选中 Label 对象,使用快捷键 Ctrl +B 或选择 **菜单栏->编辑->转换为容器** 选...
来源: Laya2.0_文档 发布时间: 20210715