Translate(float3)
Returns a RigidTransform that translates by an amount specified by a float3 vector.
Read time 1 minuteLast updated 4 days ago
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. |