BipedPlus API (Beta) / API Reference / Rig

reset()

下载 Markdown

把这个绑定的姿势恢复成默认。没有 INFO 节点会 ValueError。

签名

rig.reset(mode) -> int | tuple
mode 恢复的对象 返回
"all" Biped 和控制器 (Biped 数量, 控制器数量)
"biped" Biped 处理的节点数
"ctrl" 控制器 处理的节点数
"selected" 视口里选中的节点 处理数量。没选中则是 0

其他字符串会 ValueError。

示例

from os_bipedPlus import openAPI

api = openAPI()
rig = api.scan()
print(rig.reset("ctrl"))

💬

Need help with the API?

Open a support ticket or join the community discussion.

联系支持