Struct Ray
Defines a 3D ray with a point of origin and a direction.
Implements
Inherited Members
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
public record struct Ray : IEquatable<Ray>
Constructors
| Edit this page View SourceRay(Vector3, Vector3)
Defines a 3D ray with a point of origin and a direction.
Declaration
public Ray(Vector3 Position, Vector3 Direction)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | Position | Origin of the ray in space."> |
Vector3 | Direction | Direction of the ray."> |
Properties
| Edit this page View SourceDirection
Direction of the ray.">
Declaration
public Vector3 Direction { readonly get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Position
Origin of the ray in space.">
Declaration
public Vector3 Position { readonly get; set; }
Property Value
Type | Description |
---|---|
Vector3 |