跳转到内容

Get Sub-Mesh Transform

获取 Sub-Mesh 中任何 Shape 的变换(位置、旋转、缩放)。例如,将另一个 Shape 的位置连接到 DuplicatorForge Dynamics ShapepointId 4,或 Text Shape 中的第三个字符。

有关子 Mesh 的更多信息,请参见 Sub-Mesh

Input Shape - 连接一个子 Mesh Shape(例如 Duplicator、Text Shape 等)。

Use Bounding Box - 勾选时,使用 Sub-Mesh 的边界框中心而不是 Sub-Mesh 的变换。当使用 Text Shape 作为 Input Shape 时这很有用,因为 Text Shape 中的词或行没有变换信息。

Level Mode - 选择要影响的子 Mesh 层级。

  • Custom… - 手动设置 Custom Level Range
  • Text (Lines) - 与 Text Shape 一起使用,影响每个
  • Text (Words) - 与 Text Shape 一起使用,影响每个
  • Text (Characters) - 与 Text Shape 一起使用,影响每个字符

Sub-Mesh Index - 设置要目标的子 Mesh Shape Id。

Position - 一个只读属性,可用于连接到另一个 Shape 的 Position 属性。

Rotation - 一个只读属性,可用于连接到另一个 Shape 的 Rotation 属性。

Scale - 一个只读属性,可用于连接到另一个 Shape 的 Scale 属性。