|
Ray Constructor |
Initializes a new instance of the
Ray struct.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public Ray(
Vector3 position,
Vector3 direction
)
Parameters
- position Vector3
- The position in three dimensional space of the origin of the ray.
- direction Vector3
- The normalized direction of the ray.
See Also