Translate(float3)
Returns a RigidTransform that translates by an amount specified by a float3 vector.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static RigidTransform Translate(float3 vector)
Parameters
The translation vector.
Returns
Type | Description |
|---|---|
| RigidTransform | The RigidTransform that translates by the given translation vector. |