IPolygon

interface IPolygon(source)

Represents a polygon in 3D space, defined by a collection of attributes such as positions, texture coordinates, colors, normals, tangents, and bitangents.

Inheritors

Properties

Link copied to clipboard
abstract val bitangents: List<Vector3>

The list of bitangent vectors for the polygon vertices represented as Vector3.

Link copied to clipboard
abstract val colors: List<ColorRGBa>

The list of color values for the polygon vertices represented as ColorRGBa.

Link copied to clipboard
abstract val normals: List<Vector3>

The list of normal vectors for the polygon vertices represented as Vector3.

Link copied to clipboard
abstract val positions: List<Vector3>

The list of 3D positions of the polygon vertices represented as Vector3.

Link copied to clipboard
abstract val tangents: List<Vector3>

The list of tangent vectors for the polygon vertices represented as Vector3.

Link copied to clipboard
abstract val textureCoords: List<Vector2>

The list of 2D texture coordinates for the polygon vertices represented as Vector2.

Functions

Link copied to clipboard
abstract fun transform(t: Matrix44): IPolygon

Transforms the polygon using a given 4x4 transformation matrix.