Class KmaxPlugin
- Namespace
- KmaxXR
- Assembly
- Kmax.XR.dll
public static class KmaxPlugin
- Inheritance
-
KmaxPlugin
- Inherited Members
-
Fields
RESULT_SUCCESS
public const int RESULT_SUCCESS = 0
Field Value
- int
Methods
ActiveLog(bool)
public static void ActiveLog(bool enable = true)
Parameters
enable bool
GetDXGIFormatForRenderTextureFormat(RenderTextureFormat, bool)
public static uint GetDXGIFormatForRenderTextureFormat(RenderTextureFormat renderTextureFormat, bool isSRGBFormat)
Parameters
renderTextureFormat RenderTextureFormat
isSRGBFormat bool
Returns
- uint
GetOrientation()
public static float GetOrientation()
Returns
- float
GetTrackerPose(int, out Pose)
public static bool GetTrackerPose(int id, out Pose pose)
Parameters
id int
pose Pose
Returns
- bool
GetViewRect(ViewArea)
public static KmaxRect GetViewRect(ViewArea type)
Parameters
type ViewArea
Returns
- KmaxRect
PenLight(float, PenLightColor)
public static void PenLight(float time, PenLightColor c)
Parameters
time float
c PenLightColor
PenShake(float, PenShakePower)
public static void PenShake(float time, PenShakePower power)
Parameters
time float
power PenShakePower
Pen_Connected()
public static extern bool Pen_Connected()
Returns
- bool
public static extern bool Pen_GetButtonDown(int id)
Parameters
id int
Returns
- bool
public static extern bool Pen_GetButtonDown1(int id)
Parameters
id int
Returns
- bool
SetLogger(LogCallBack)
public static extern void SetLogger(KmaxPlugin.LogCallBack logger)
Parameters
logger KmaxPlugin.LogCallBack