IAARObject

Objective-C


@interface IAARObject : NSObject <IABeta, IARestricted>

Swift

class IAARObject : NSObject, IABeta, IARestricted

Object describing an object in the AR space. The methods of an instance of this class can be called from any thread.

NOTE! To enable AR features, please contact IndoorAtlas sales.

  • Get the current model matrix for this object.

    Declaration

    Objective-C

    - (_Bool)updateModelMatrix:(nonnull simd_float4x4 *)outModelMatrix;

    Swift

    func updateModelMatrix(_ outModelMatrix: UnsafeMutablePointer<simd_float4x4>) -> Bool

    Parameters

    outModelMatrix

    Output: a 4x4 homogeneous model-to-world matrix. .

    Return Value

    true if the outtModelMatrix was set and the object can be displayed, false if the model matrix is not available or object should not be displayed for some other reason.