HelperIntersectionGetMouseIntersectionPointOnPlane(Plane, Single) Methode

Konvertiert 2D-Mauskoordinaten in 3D-Koordinaten

Definition

Namensraum: KWEngine3.Helper
Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.3.0+5a1a93710439697f5c5b3a2ecf0170e28863e0a1
C#
public static Vector3 GetMouseIntersectionPointOnPlane(
	Plane planeNormal = Plane.Camera,
	float planeHeight = 0f
)

Parameter

planeNormal  Plane  (Optional)
Kollisionsebene (Standard: Camera)
planeHeight  Single  (Optional)
Höhe der Kollisionsebene

Rückgabewert

Vector3
3D-Mauskoordinaten

Siehe auch