更新3.4API
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user