SubDTextureCoordinateType

References
ON_SubDTextureCoordinateType identifies the way ON_SubDMeshFragment texture coordinates are set from an ON_SubDFace.

Enum values

NameValueDescription
Unset0Texture domains are not set.
Unpacked1Each SubDFace uses the unit square in texture space.
Packed2The face's pack rect is used to set fragment texture coordinates. When possible, adjacent quads with the same ON_SubDFace::PackId() value are assigned adjacent rectangles in texture space.
Zero3All ON_SubDMeshFragment texture coordinate values are zero.
Nan4All ON_SubDMeshFragment texture coordinate values are ON_DBL_QNAN.
FromFaceTexturePoints6All ON_SubDMeshFragment texture coordinate values are set by barycentric interpolation of ON_SubDFace.TexturePoint() values.
FromMapping7Texture coordinates are set from an ON_TextureMapping and transformation specified by ON_SubD::TextureMappingTag(). In all other cases, ON_SubD::TextureMappingTag() can be set, but is ignored.