RRGarment3DRenderable

Objective-C

@interface RRGarment3DRenderable : RRRenderable

Swift

class RRGarment3DRenderable : RRRenderable

The renderable to visualize an RRGarment3D instance

  • Default Initializer

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()
  • Initializer providing the RRGarment3D instance that should be rendered.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithGarment3D:(nonnull RRGarment3D *)garment3D;

    Swift

    init(garment3D: RRGarment3D)
  • Setter for the RRGarment3D instance that should be rendered

    Declaration

    Objective-C

    - (void)setGarment3D:(nonnull RRGarment3D *)garment3D;

    Swift

    func setGarment3D(_ garment3D: RRGarment3D)
  • Returns a RRRenderableType instance identifying RRGarment3DRenderable instances. This instance can be compared to other RRRenderableType instances using isEqual: returned by the function getType of any AbstractRenderable subclass.

    Declaration

    Objective-C

    + (RRRenderableType *_Nonnull)getRenderableType;

    Swift

    class func getType() -> RRRenderableType

    Return Value

    A RRRenderableType instance representing the type RRGarment3DRenderable.