Vertex.UvCoordinate

  • Vertex.UvCoordinate represents a texture coordinate for a vertex in Sceneform.

  • Texture coordinates (x, y) should have values between 0 and 1.

  • Vertex.UvCoordinate provides x and y fields to represent the coordinate values.

  • A public constructor allows creating a Vertex.UvCoordinate instance by specifying the x and y values.

public static final class Vertex.UvCoordinate

Represents a texture Coordinate for a Vertex. Values should be between 0 and 1.

Fields

public float x
public float y

Public Constructors

Vertex.UvCoordinate(float x, float y)

Inherited Methods

Fields

public float x

public float y

Public Constructors

public Vertex.UvCoordinate (float x, float y)

Parameters
x
y