Struct Ray2D
Inherited Members
Namespace: Genesis.Physics
Assembly: Genesis.dll
Syntax
public struct Ray2D
Constructors
Ray2D(Vec3, Vec3)
Declaration
public Ray2D(Vec3 origin, Vec3 direction)
Parameters
| Type | Name | Description |
|---|---|---|
| Vec3 | origin | |
| Vec3 | direction |
Properties
Direction
Declaration
public Vec3 Direction { get; set; }
Property Value
| Type | Description |
|---|---|
| Vec3 |
Origin
Declaration
public Vec3 Origin { get; set; }
Property Value
| Type | Description |
|---|---|
| Vec3 |