Gjsify LogoGjsify Logo

A point in 3D space, expressed in pixels

record

Hierarchy

  • Vertex

Index

Constructors

Properties

Methods

Constructors

  • new Vertex(x: number, y: number, z: number): Vertex
  • Creates a new #ClutterVertex for the point in 3D space identified by the 3 coordinates x, y, z.

    This function is the logical equivalent of:

    |[ clutter_vertex_init (clutter_vertex_alloc (), x, y, z);


    @constructor
    @param x X coordinate
    @param y Y coordinate
    @param z Z coordinate

    Parameters

    • x: number
    • y: number
    • z: number

    Returns Vertex

Properties

x: number

X coordinate of the vertex

field
y: number

Y coordinate of the vertex

field
z: number

Z coordinate of the vertex

field
name: string

Methods

  • equal(vertexB: Vertex): boolean
  • free(): void
  • Frees a #ClutterVertex allocated using clutter_vertex_alloc() or clutter_vertex_copy().

    Returns void

  • init(x: number, y: number, z: number): Vertex
  • Initializes vertex with the given coordinates.

    Parameters

    • x: number

      X coordinate

    • y: number

      Y coordinate

    • z: number

      Z coordinate

    Returns Vertex

  • new(x: number, y: number, z: number): Vertex
  • Creates a new #ClutterVertex for the point in 3D space identified by the 3 coordinates x, y, z.

    This function is the logical equivalent of:

    |[ clutter_vertex_init (clutter_vertex_alloc (), x, y, z);


    @constructor
    @param x X coordinate
    @param y Y coordinate
    @param z Z coordinate

    Parameters

    • x: number
    • y: number
    • z: number

    Returns Vertex

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method