Packages

 

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

Classes

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

Class Tristrips



  • public class Tristrips
    extends ColladaElement

    The TRISTRIPS. The TRISTRIPS element provides the information needed to bind vertex attributes together and then organize those vertices into connected triangles. Each triangle described by the mesh has three vertices. The first triangle is formed from first, second, and third vertices.Each subsequent triangle is formed from the current vertex, reusing the previous two vertices.

    • Constructor Detail

      • Tristrips

        public Tristrips()
    • Method Detail

      • getInput

        public final InputLocalOffset[] getInput()

        Gets or sets the input. The input element may occur any number of times. This input is a local input with the offset and set attributes.

      • setInput

        public final void setInput(InputLocalOffset[] value)

        Gets or sets the input. The input element may occur any number of times. This input is a local input with the offset and set attributes.

      • getPrimitives

        public final Primitives[] getPrimitives()

        Gets or sets the primitives. The TRISTRIPS element may have any number of p elements.

      • setPrimitives

        public final void setPrimitives(Primitives[] value)

        Gets or sets the primitives. The TRISTRIPS element may have any number of p elements.

      • getExtra

        public final Extra[] getExtra()

        Gets or sets the extra.

      • setExtra

        public final void setExtra(Extra[] value)

        Gets or sets the extra.

      • getName

        public final String getName()

        Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.

      • setName

        public final void setName(String value)

        Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.

      • getCount

        public final long getCount()

        Gets or sets the count. The count attribute indicates the number of triangle strip primitives. Required attribute.

      • setCount

        public final void setCount(long value)

        Gets or sets the count. The count attribute indicates the number of triangle strip primitives. Required attribute.

      • getMaterial

        public final String getMaterial()

        Gets or sets the material. The material attribute declares a symbol for a material. This symbol is bound to a material at the time of instantiation. If the material attribute is not specified then the lighting and shading results are application defined. Optional attribute.

      • setMaterial

        public final void setMaterial(String value)

        Gets or sets the material. The material attribute declares a symbol for a material. This symbol is bound to a material at the time of instantiation. If the material attribute is not specified then the lighting and shading results are application defined. Optional attribute.