Class ObjectTarget
Represents object targets that are found by an object tracker.
Inheritance
System.Object
ObjectTarget
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public sealed class ObjectTarget
Methods
getMatrix()
Gets the combined modelview matrix that should be applied to augmentations when rendering.
Declaration
public Matrix getMatrix()
Returns
Type | Description |
---|---|
Matrix | The matrix that should be applied to the target augmentation when rendering. |
getName()
Gets the name of the associated target object in the wikitude object target collection(.wto).
Declaration
public string getName()
Returns
Type | Description |
---|---|
System.String | The name of the image target. |
getTargetScale()
Gets a scale value that represents the object dimensions proportionally to the uniform scaling given through the matrix returned from getMatrix().
Declaration
public Vector3 getTargetScale()
Returns
Type | Description |
---|---|
System.Numerics.Vector3 | The normalized scale of the object target. |