大约有 3,133 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0062 秒)
...efined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: ...
来源: Laya3.0_api 发布时间: 20231115
...efined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 intensity intensity: number Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:55 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 ...
来源: Laya3.0_api 发布时间: 20231115
...efined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: ...
来源: Laya3.0_api 发布时间: 20231115
...efined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator.ts:95 裁剪模式 owner owner: Node Inherited from Component.owner Defined in l...
来源: Laya3.0_api 发布时间: 20231102
...赋的值,是写死的模拟数据。其中,拼接模拟数据,最多只能是二层结构,不支持层级很深的结构。 上述代码中,<dir></dir>标签为一个文件夹,<file />表示一个文件。isOpen='true'表示文件夹的初始状态是否为打开。lab...
来源: Laya3.0_文档 发布时间: 20251010
...数据。但需要注意的是,采用fetch加载的资源不会缓存,只能在加载完成的回调里使用,无法通过getRes读取加载缓存。 使用fetch()方法,示例如下: onEnable(): void { const jsonPath: string = "json/bagList.json"; //fetch取到的是原始数据,但没...
来源: Laya3.0_文档 发布时间: 20251010
...efined 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/components/Componen...
来源: Laya3.0_api 发布时间: 20231115
...aderValues.getInt(BlinnPhongMaterial.CULL); } ``` 在没有 stateMap 时,只能通过对应修改 ShaderPass 的 renderState 来修改。 > 多Pass描边shader中使用Pass的renderStat修改渲染状态 ```typescript var pass1 = subShader.addShaderPass(OutlineVS, OutlineFS); //修改渲染状态 ...
来源: Laya2.0_文档 发布时间: 20210714
...为光JS就会超过4M,所以在2.1的小游戏基础库推出之前,只能是不断的砍功能,一直砍到JS小于4M。(如果有新手不了解这是为什么?那先去了解一些基础之后,再来看本文。)小游戏基础库从2.1版本开始支持通过分包的形式,将上...
来源: Laya2.0_文档 发布时间: 20210715
...画,或者3D纹理。 2、即便能接受转换后的质量损失,也只能是iOS平台可用,当前的ETC1纹理压缩格式,在Android不支持带透明通道的图集。 3、图集默认是不按幂次方生成,iOS平台不仅宽高需要幂次方还要是宽高相等的正方形幂次...
来源: Laya2.0_文档 发布时间: 20210714