AssetUnit

Inheritance: java.lang.Object, ColladaElement

The asset unit. The unit element contains descriptive information about unit of measure. It has attributes for the name of the unit and the measurement with respect to the meter. The unit element may appear zero or one time.

Constructors

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

Methods

MethodDescription
getMeter()Gets or sets the meter. The meter attribute specifies the measurement with respect to the meter. The default value for the meter attribute is “1.0”.
setMeter(double value)Gets or sets the meter. The meter attribute specifies the measurement with respect to the meter. The default value for the meter attribute is “1.0”.
getName()Gets or sets the name. The name attribute specifies the name of the unit. The default value for the name attribute is “meter”.
setName(String value)Gets or sets the name. The name attribute specifies the name of the unit. The default value for the name attribute is “meter”.

AssetUnit()

public AssetUnit()

Initializes a new instance of the AssetUnit class.

getMeter()

public final double getMeter()

Gets or sets the meter. The meter attribute specifies the measurement with respect to the meter. The default value for the meter attribute is “1.0”.

Returns: double

setMeter(double value)

public final void setMeter(double value)

Gets or sets the meter. The meter attribute specifies the measurement with respect to the meter. The default value for the meter attribute is “1.0”.

getName()

public final String getName()

Gets or sets the name. The name attribute specifies the name of the unit. The default value for the name attribute is “meter”.

Returns: String

setName(String value)

public final void setName(String value)

Gets or sets the name. The name attribute specifies the name of the unit. The default value for the name attribute is “meter”.