public class Polylist extends ColladaElement
The POLYLIST. The POLYLIST element provides the information needed to bind vertex attributes together and then organize those vertices into individual polygons. The polygons described in POLYLIST can contain arbitrary numbers of vertices. Unlike the polygons element, the POLYLIST element cannot contain polygons with holes.
Constructor and Description |
---|
Polylist() |
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.
|
String |
getVerticesCount()
Gets or sets the vertices count.
|
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.
|
void |
setVerticesCount(String value)
Gets or sets the vertices count.
|
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 String getVerticesCount()
Gets or sets the vertices count. The vertices count element contains a list of integers describing the number of sides for each polygon described by the POLYLIST element. The vertices count element may occur once.
public final void setVerticesCount(String value)
Gets or sets the vertices count. The vertices count element contains a list of integers describing the number of sides for each polygon described by the POLYLIST element. The vertices count element may occur once.
public final Primitives getPrimitives()
Gets or sets the primitives. The POLYLIST element may have zero or one primitives element.
public final void setPrimitives(Primitives value)
Gets or sets the primitives. The POLYLIST element may have zero or one primitives element.
public final Extra[] getExtra()
Gets or sets the extra. The extra element may appear any number of times.
public final void setExtra(Extra[] value)
Gets or sets the extra. The extra element may appear any number of times.
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 polygon primitives. Required attribute.
public final void setCount(long value)
Gets or sets the count. The count attribute indicates the number of polygon primitives. Required attribute.
public final String getMaterial()
Gets or sets the material.
public final void setMaterial(String value)
Gets or sets the material.