public class AssetUnit extends 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.
Constructor and Description |
---|
AssetUnit()
Initializes a new instance of the
AssetUnit class. |
Modifier and Type | Method and Description |
---|---|
double |
getMeter()
Gets or sets the meter.
|
String |
getName()
Gets or sets the name.
|
void |
setMeter(double value)
Gets or sets the meter.
|
void |
setName(String value)
Gets or sets the name.
|
public AssetUnit()
Initializes a new instance of the AssetUnit
class.
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".
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".
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".
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".