Click or drag to resize
Ab4d.SharpEngine logo

ManualInputEventsManagerRegisterDragSurface(Vector3, Vector3) Method

Registers a plane as a drag surface. The method returns an index of the registered plane that can be used to remove the plane by calling RemoveDragSurface(Int32).

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public int RegisterDragSurface(
	Vector3 planeNormal,
	Vector3 pointOnPlane
)

Parameters

planeNormal  Vector3
plane's normal as Vector3
pointOnPlane  Vector3
point on plane as Vector3

Return Value

Int32
index of the registered plane that can be used to remove the plane by calling RemoveDragSurface(Int32)
See Also