AxisValue

Inheritance: java.lang.Object

public class AxisValue

Represents AxisValue record.

Constructors

ConstructorDescription
AxisValue(int axisIndex, float value)Constructor

Methods

MethodDescription
getAxisIndex()Gets axisIndex field.
getValue()Gets a numeric value for this attribute value.

AxisValue(int axisIndex, float value)

public AxisValue(int axisIndex, float value)

Constructor

Parameters:

ParameterTypeDescription
axisIndexintZero-base index into the axis record array identifying the axis to which this value applies. Must be less than designAxisCount.
valuefloatThe numeric value for this attribute value.

getAxisIndex()

public int getAxisIndex()

Gets axisIndex field. Spec: Zero-base index into the axis record array identifying the axis to which this value applies. Must be less than designAxisCount.

Returns: int - The axisIndex field.

getValue()

public float getValue()

Gets a numeric value for this attribute value.

Returns: float - A numeric value for this attribute value.