public class Triangles extends ColladaElement
The triangles. The triangles element provides the information needed to bind vertex attributes together and then organize those vertices into individual triangles. Each triangle described by the mesh has three vertices. The first triangle is formed from the first, second, and third vertices. The second triangle is formed from the fourth, fifth, and sixth vertices, and so on.
Constructor and Description |
---|
Triangles() |
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Gets or sets the count.
|
Extra[] |
getExtra()
Gets or sets the extra.
|
InputLocalOffset[] |
getInput()
Gets or sets the input.
|
String |
getMaterial()
Gets or sets the material.
|
String |
getName()
Gets or sets the name.
|
Primitives |
getPrimitives()
Gets or sets the primitives.
|
void |
setCount(long value)
Gets or sets the count.
|
void |
setExtra(Extra[] value)
Gets or sets the extra.
|
void |
setInput(InputLocalOffset[] value)
Gets or sets the input.
|
void |
setMaterial(String value)
Gets or sets the material.
|
void |
setName(String value)
Gets or sets the name.
|
void |
setPrimitives(Primitives value)
Gets or sets the primitives.
|
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.
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.
public final Primitives getPrimitives()
Gets or sets the primitives. The triangles element may have zero or one primitives element.
public final void setPrimitives(Primitives value)
Gets or sets the primitives. The triangles element may have zero or one primitives element.
public final Extra[] getExtra()
Gets or sets the extra.
public final void setExtra(Extra[] value)
Gets or sets the extra.
public final String getName()
Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
public final void setName(String value)
Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
public final long getCount()
Gets or sets the count. The count attribute indicates the number of triangle primitives. Required attribute.
public final void setCount(long value)
Gets or sets the count. The count attribute indicates the number of triangle primitives. Required attribute.
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. Optional attribute. If the material attribute is not specified then the lighting and shading results are application defined.
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. Optional attribute. If the material attribute is not specified then the lighting and shading results are application defined.