User Tools

Site Tools


DzFacet

Represents a polygonal face within a polygon mesh.

More...

Inherits :

Properties

Constructors

DAZ Script
DzFacet ()
DzFacet ( DzFacet facet )

Methods

Detailed Description

A 3 or 4 sided polygonal face within a polygon mesh.

See Also:

Properties


Number : cageIndex

The index of this face in the cage mesh


Number : edgeIdx1

The index of the first edge, otherwise -1


Number : edgeIdx2

The index of the second edge, otherwise -1


Number : edgeIdx3

The index of the third edge, otherwise -1


Number : edgeIdx4

The index of the fourth edge normal (if any), otherwise -1


Number : faceGroupIndex

The index of the face group this face belongs to


Number : materialIndex

The index of the material group this face belongs to


Number : normIdx1

The index of the first vertex normal


Number : normIdx2

The index of the second vertex normal


Number : normIdx3

The index of the third vertex normal


Number : normIdx4

The index of the fourth vertex normal (if any), otherwise -1


Number : uvwIdx1

The index of the first texture vertex


Number : uvwIdx2

The index of the second texture vertex


Number : uvwIdx3

The index of the third texture vertex


Number : uvwIdx4

The index of the fourth texture vertex (if any), otherwise -1


Number : vertIdx1

The index of the first vertex


Number : vertIdx2

The index of the second vertex


Number : vertIdx3

The index of the third vertex


Number : vertIdx4

The index of the fourth vertex (if any), otherwise -1

Constructors


DzFacet()

Default Constructor.


DzFacet( DzFacet facet )

TODO: Add description.

Methods


void : clear()

Set the facet to a default state.


void : clearTriFanCount()

TODO: Add description.


void : clearTriFanRoot()

TODO: Add description.


Number : getTriFanCount()

TODO: Add description.


Number : getTriFanEdgeCount()

TODO: Add description.


Number : getTriFanMaxEdgeIdx()

TODO: Add description.


Number : getTriFanOffset()

TODO: Add description.


Number : getTriFanRoot()

TODO: Add description.


Boolean : isQuad()

return true if this is a 4 sided polygon, otherwise false


Boolean : isTri()

return true if this is a 3 sided polygon, otherwise false


Boolean : isTriFan()

TODO: Add description.


Boolean : isTriFanChild()

TODO: Add description.


Boolean : isTriFanRoot()

TODO: Add description.


void : setTriFanCount( Number count )

TODO: Add description.


void : setTriFanRoot( Number rootIdx )

TODO: Add description.