HelperIntersectionGetMouseIntersectionPointOnPlane(Plane, Single) Methode

Konvertiert 2D-Mauskoordinaten in 3D-Koordinaten

Definition

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