Class ImageTrackerFunctionLibrary
Image Tracker Function Library
Inherited Members
Namespace: UE4.MagicLeap
Assembly: UE4DotNet.dll
Syntax
public class ImageTrackerFunctionLibrary : BlueprintFunctionLibrary
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static ImageTrackerFunctionLibrary DefaultObject { get; }
Property Value
Type | Description |
---|---|
ImageTrackerFunctionLibrary |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceEnableImageTracking(Boolean)
If true, image tracker will detect and track targets.
Declaration
public static void EnableImageTracking(bool bEnable)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bEnable |
Remarks
When enabled Image Tracker will gain access to the camera and start trackingimages. Enabling image tracker is expensive, takes about 1500ms on the average.
When disabled Image Tracker will release the camera and stop tracking images. Internal state of the tracker will be maintained (i.e. list of active/inactive argets and their target_handles).
This is done automatically on application pause / resume.
GetMaxSimultaneousTargets()
Gets the maximum number of Image Targets that can be tracked at any given time.
Declaration
public static int GetMaxSimultaneousTargets()
Returns
Type | Description |
---|---|
System.Int32 |
Remarks
@return The maximum number of Image Targets that can be tracked at any given time.
IsImageTrackingEnabled()
Gets the active state of the image tracking system.
Declaration
public static bool IsImageTrackingEnabled()
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
@return True if image tracking is enabled, false otherwise.
New(UObject, Name)
Spawn an object of this class
Declaration
public static ImageTrackerFunctionLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
ImageTrackerFunctionLibrary |
SetMaxSimultaneousTargets(Int32)
Declaration
public static void SetMaxSimultaneousTargets(int MaxSimultaneousTargets)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | MaxSimultaneousTargets |
Operators
| Improve this Doc View SourceImplicit(IntPtr to ImageTrackerFunctionLibrary)
Convert from IntPtr to UObject
Declaration
public static implicit operator ImageTrackerFunctionLibrary(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
ImageTrackerFunctionLibrary |