RRTexturedMesh3DObject

Objective-C

@interface RRTexturedMesh3DObject : RRAbstractVisualRepresentation

Swift

class RRTexturedMesh3DObject : RRAbstractVisualRepresentation

This is class represents a textured mesh which includes one mesh and a texture. This class inherits from RRAbstractVisualRepresentation and therefore provides functionality to easily create a renderable.

  • Loading an instance from a file.

    Declaration

    Objective-C

    + (RRTexturedMesh3DObject *_Nullable)loadFromFile:(nonnull NSString *)filePath;

    Swift

    class func load(fromFile filePath: String) -> RRTexturedMesh3DObject?

    Parameters

    filePath

    The path to the file to load the object from

    Return Value

    The loaded RRTexturedMesh3DObject instance or nil if it fails loading