大约有 1,343 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0059 秒)
...load(url, type).then((res)=> { //带类型,用于区别无后缀,或同一后缀不同作用的资源。 //例如,图片xxx.png被定义为TextureCube,使用load("xxx.png", Laya.Loader.TEXTURECUBE)。得到的是TextureCube。 }); 完整的脚本示例如下: const { regClass, property ...
来源: Laya3.0_文档 发布时间: 20251010
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/comp...
来源: Laya3.0_api 发布时间: 20231115
...现大概的思路可以提供一下吗?比如其他对象必须要放在同一层吗?还需要设置些什么条件呢 Laya_Yan • 2022-05-07 10:12 @158*****197:相机的hdr功能关闭了吗 158*****197 • 2022-05-07 10:17 @Laya_Yan:关了的 158*****197 • 2022-05-07 10:18 @Laya_Yan:也在...
来源: Laya_社区 发布时间: 20220506
...器中,所以性能还取决于JavaScript解释器的效率,因此,同一款游戏的FPS值在不同的浏览器中可能会存在差异。这部分不是开发者能够决定的,开发者能作的是尽可能使用好引擎及优化项目,争取在低端设备或低性能浏览器中,...
来源: Laya2.0_文档 发布时间: 20210714
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/comp...
来源: Laya3.0_api 发布时间: 20231115
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] Defined in laya/physics/joint/MouseJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,如果不设...
来源: Laya3.0_api 发布时间: 20231115
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: No...
来源: Laya3.0_api 发布时间: 20231115
...2018-09-05 17:15 已经出现这种状况3天以上了,和楼主可能是同一种情况
来源: Laya_社区 发布时间: 20180903
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator/Animator.ts:78 裁剪模式 owner owner: Node Inherited from Comp...
来源: Laya3.0_api 发布时间: 20231115
...`与`默认全局属性`设置,都属于组件属性的预先设置。当同一个组件资源在多处使用,并需要配置相同的属性时,该设置可以减少很多的重复性操作。** `打包类型`:`默认`会采用项目设置(F9)中的打包规则。除此之外,通过该...
来源: Laya2.0_文档 发布时间: 20210714