CastRayInput
Create a default Cast Ray input.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Constructor
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
CastRayInput()
Create a default Cast Ray input.
public CastRayInput()
CastRayInput(Vector2, Vector2)
Create a Cast-Ray with a default fraction of 1.
public CastRayInput(Vector2 origin, Vector2 translation)
Parameters
The origin (start) of the ray.
The translation relative to the PhysicsQuery.CastRayInput.origin of the ray.