Polylist
Inheritance: java.lang.Object, 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.
Constructors
| Constructor | Description |
|---|---|
| Polylist() |
Methods
| Method | Description |
|---|---|
| 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(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. |
| 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. |
| 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. |
| getPrimitives() | Gets or sets the primitives. The POLYLIST element may have zero or one primitives element. |
| setPrimitives(Primitives value) | Gets or sets the primitives. The POLYLIST element may have zero or one primitives element. |
| getExtra() | Gets or sets the extra. The extra element may appear any number of times. |
| setExtra(Extra[] value) | Gets or sets the extra. The extra element may appear any number of times. |
| getName() | Gets or sets the name. The name attribute is the text string name of this element. Optional attribute. |
| setName(String value) | Gets or sets the name. The name attribute is the text string name of this element. Optional attribute. |
| getCount() | Gets or sets the count. The count attribute indicates the number of polygon primitives. Required attribute. |
| setCount(long value) | Gets or sets the count. The count attribute indicates the number of polygon primitives. Required attribute. |
| getMaterial() | Gets or sets the material. |
| setMaterial(String value) | Gets or sets the material. |
Polylist()
public Polylist()
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.
Returns: InputLocalOffset[]
setInput(InputLocalOffset[] value)
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.
getVerticesCount()
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.
Returns: String
setVerticesCount(String value)
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.
getPrimitives()
public final Primitives getPrimitives()
Gets or sets the primitives. The POLYLIST element may have zero or one primitives element.
Returns: Primitives
setPrimitives(Primitives value)
public final void setPrimitives(Primitives value)
Gets or sets the primitives. The POLYLIST element may have zero or one primitives element.
getExtra()
public final Extra[] getExtra()
Gets or sets the extra. The extra element may appear any number of times.
Returns: Extra[]
setExtra(Extra[] value)
public final void setExtra(Extra[] value)
Gets or sets the extra. The extra element may appear any number of times.
getName()
public final String getName()
Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
Returns: String
setName(String value)
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 polygon primitives. Required attribute.
Returns: long
setCount(long value)
public final void setCount(long value)
Gets or sets the count. The count attribute indicates the number of polygon primitives. Required attribute.
getMaterial()
public final String getMaterial()
Gets or sets the material.
Returns: String
setMaterial(String value)
public final void setMaterial(String value)
Gets or sets the material.