Skip to content

ActuatorRelativeTo

概览

字段
KindEnum · 枚举 Enum
Realmcommon
  • Inherit: Int
  • 继承链: Int → ActuatorRelativeTo

ActuatorRelativeTo 枚举定义执行器参考坐标系的三种语义:Attachment0、Attachment1 与 World

适用场景

仅当某个公开 API 的参数或属性明确声明为 ActuatorRelativeTo 时,用它选择执行器数值所参照的坐标系。当前公开 Surface 尚未暴露使用该类型的成员。

使用要点

通过 Enums.ActuatorRelativeTo.Attachment0、Attachment1 或 World 引用成员;不要把它赋给未声明该类型的约束属性。

注意事项

当前公开 Meta 提供了该枚举定义,但没有公开参数或属性直接消费它。HingeConstraintPrismaticConstraintActuatorType 使用 Enums.ActuatorType,不等同于 ActuatorRelativeTo

枚举值

名称说明
0Attachment0以约束的 Attachment0 坐标系作为执行器参考基准。
1Attachment1以约束的 Attachment1 坐标系作为执行器参考基准。
2World以世界坐标系作为执行器参考基准。