更新3.4API

This commit is contained in:
boybook
2025-06-27 23:59:47 +08:00
parent c0f98b179b
commit 12738a142c
52 changed files with 1146 additions and 292 deletions

View File

@@ -474,6 +474,7 @@ method in mod.client.component.actorRenderCompClient.ActorRenderCompClient
| bool | 是否成功 |
- 备注
- 调用该接口后需要调用[RebuildRenderForOneActor](#rebuildrenderforoneactor)才会生效
- 某些动画资源可能用到了molang表达式在添加动画时请务必确保这些molang表达式也存在。
- 示例
@@ -658,6 +659,9 @@ method in mod.client.component.actorRenderCompClient.ActorRenderCompClient
| :--- | :--- |
| bool | 是否成功 |
- 备注
- 调用该接口后需要调用[RebuildRenderForOneActor](#rebuildrenderforoneactor)才会生效
- 示例
```python
@@ -1104,6 +1108,7 @@ method in mod.client.component.actorRenderCompClient.ActorRenderCompClient
| :--- | :--- | :--- |
| entityId | str | 实体Id |
| paramTypeStr | str | 渲染参数类型,可选类型有"textures","geometry","materials","animations","render_controllers","particle_effects","sound_effects" |
| getValue | bool | 是否获取详细值默认为False。该参数对render_controllers无效 |
- 返回值
@@ -1111,6 +1116,9 @@ method in mod.client.component.actorRenderCompClient.ActorRenderCompClient
| :--- | :--- |
| list(str) | 参数列表如获取失败则返回None |
- 备注
- 无法用于获取Player的ColorTexture
- 示例
```python