RRMesh3D

Objective-C

@interface RRMesh3D : NSObject

Swift

class RRMesh3D : NSObject

A container class that stores the data structure of a 3D mesh

  • Default initializer

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()
  • Initializer based on the information provided by an ARPlaneAnchor instance

    Declaration

    Objective-C

    - (nonnull instancetype)initWithARPlaneAnchor:
        (nonnull ARPlaneAnchor *)planeAnchor;

    Swift

    init(arPlaneAnchor planeAnchor: ARPlaneAnchor)

    Parameters

    planeAnchor

    The ARPlaneAnchor instance whose geometry should be represented by the returned RRMesh3D instance