Packages

 

com.aspose.cad.fileformats.collada.fileparser.elements

Classes

com.aspose.cad.fileformats.collada.fileparser.elements

Class Accessor



  • public class Accessor
    extends ColladaElement

    The accessor. The accessor element declares an access pattern to one of the array elements: FLOAT_ARRAY, INT_ARRAY, NAME_ARRAY, BOOL_ARRAY, TOKEN_ARRAY, and IDREF_ARRAY. The accessor element describes access to arrays that are organized in either an interleaved or non-interleaved manner, depending on the offset and stride attributes.

    • Constructor Detail

      • Accessor

        public Accessor()

        Initializes a new instance of the Accessor class.

    • Method Detail

      • getParameter

        public final Parameter[] getParameter()

        Gets or sets the parameter. The accessor element may have any number of parameter elements.

      • setParameter

        public final void setParameter(Parameter[] value)

        Gets or sets the parameter. The accessor element may have any number of parameter elements.

      • getCount

        public final long getCount()

        Gets or sets the count. The count attribute indicates the number of times the array is accessed. Required attribute.

      • setCount

        public final void setCount(long value)

        Gets or sets the count. The count attribute indicates the number of times the array is accessed. Required attribute.

      • getOffset

        public final long getOffset()

        Gets or sets the offset. The offset attribute indicates the index of the first value to be read from the array. The default value is 0. Optional attribute.

      • setOffset

        public final void setOffset(long value)

        Gets or sets the offset. The offset attribute indicates the index of the first value to be read from the array. The default value is 0. Optional attribute.

      • getSource

        public final String getSource()

        Gets or sets the source. The source attribute indicates the location of the array to access using a URL expression. Required attribute.

      • setSource

        public final void setSource(String value)

        Gets or sets the source. The source attribute indicates the location of the array to access using a URL expression. Required attribute.

      • getStride

        public final long getStride()

        Gets or sets the stride. The stride attribute indicates number of values to be considered a unit during each access to the array. The default value is 1, indicating that a single value is accessed. Optional attribute.

      • setStride

        public final void setStride(long value)

        Gets or sets the stride. The stride attribute indicates number of values to be considered a unit during each access to the array. The default value is 1, indicating that a single value is accessed. Optional attribute.