C# Class PixelFarm.VectorMath.Ray

a virtual ray that is casted from a begin Position in a certain Direction.
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Свойство Type Description
direction System.Vector3
intersectionType IntersectionType
isShadowRay bool
maxDistanceToConsider double
minDistanceToConsider double
oneOverDirection System.Vector3
origin System.Vector3
sameSurfaceOffset double
sign Sign[]

Méthodes publiques

Méthode Description
Intersection ( AxisAlignedBoundingBox bounds ) : bool
Ray ( Ray rayToCopy ) : System
Ray ( System.Vector3 origin, System.Vector3 direction, double minDistanceToConsider, double maxDistanceToConsider = double.PositiveInfinity, IntersectionType intersectionType = IntersectionType.FrontFace ) : System

Method Details

Intersection() public méthode

public Intersection ( AxisAlignedBoundingBox bounds ) : bool
bounds AxisAlignedBoundingBox
Résultat bool

Ray() public méthode

public Ray ( Ray rayToCopy ) : System
rayToCopy Ray
Résultat System

Ray() public méthode

public Ray ( System.Vector3 origin, System.Vector3 direction, double minDistanceToConsider, double maxDistanceToConsider = double.PositiveInfinity, IntersectionType intersectionType = IntersectionType.FrontFace ) : System
origin System.Vector3
direction System.Vector3
minDistanceToConsider double
maxDistanceToConsider double
intersectionType IntersectionType
Résultat System

Property Details

direction public_oe property

public Vector3,System direction
Résultat System.Vector3

intersectionType public_oe property

public IntersectionType intersectionType
Résultat IntersectionType

isShadowRay public_oe property

public bool isShadowRay
Résultat bool

maxDistanceToConsider public_oe property

public double maxDistanceToConsider
Résultat double

minDistanceToConsider public_oe property

public double minDistanceToConsider
Résultat double

oneOverDirection public_oe property

public Vector3,System oneOverDirection
Résultat System.Vector3

origin public_oe property

public Vector3,System origin
Résultat System.Vector3

sameSurfaceOffset public_oe static_oe property

public static double sameSurfaceOffset
Résultat double

sign public_oe property

public Sign[] sign
Résultat Sign[]