HelperIntersectionGetMouseIntersectionPointOnPlane(Plane, Single) Methode

Konvertiert 2D-Mauskoordinaten in 3D-Koordinaten

Definition

Namensraum: KWEngine3.Helper
Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.5.0+4e60eeea000a35726a964061ff0b345d8a5a5812
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