ObjShape

ObjShape class

Constructors

ConstructorDescription
ObjShape()Initializes a new instance of the class.

Methods

MethodDescription
getName()Gets or sets the name.
setName(String value)Gets or sets the name.
getFaces()Gets or sets the faces.
setFaces(List value)Gets or sets the faces.
getMaterialId()Gets or sets the material identifier.
setMaterialId(int value)Gets or sets the material identifier.

ObjShape()

public ObjShape()

Initializes a new instance of the class.

getName()

public final String getName()

Gets or sets the name.

Returns: String - The name.

setName(String value)

public final void setName(String value)

Gets or sets the name.

Parameters:

ParameterTypeDescription
valueStringThe name.

getFaces()

public final List<ObjFace> getFaces()

Gets or sets the faces.

Returns: List - The faces.

setFaces(List value)

public final void setFaces(List<ObjFace> value)

Gets or sets the faces.

Parameters:

ParameterTypeDescription
valueListThe faces.

getMaterialId()

public final int getMaterialId()

Gets or sets the material identifier.

Returns: int - The material identifier.

setMaterialId(int value)

public final void setMaterialId(int value)

Gets or sets the material identifier.

Parameters:

ParameterTypeDescription
valueintThe material identifier.