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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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