Package imgui

Class ImVec4

java.lang.Object
imgui.ImVec4
All Implemented Interfaces:
Cloneable

public final class ImVec4 extends Object implements Cloneable
4D vector (often used to store floating-point colors).
  • Field Details

    • x

      public float x
    • y

      public float y
    • z

      public float z
    • w

      public float w
  • Constructor Details

    • ImVec4

      public ImVec4()
    • ImVec4

      public ImVec4(float x, float y, float z, float w)
    • ImVec4

      public ImVec4(ImVec4 value)
  • Method Details

    • set

      public ImVec4 set(float x, float y, float z, float w)
    • set

      public ImVec4 set(ImVec4 value)
    • plus

      public ImVec4 plus(float x, float y, float z, float w)
    • plus

      public ImVec4 plus(ImVec4 value)
    • minus

      public ImVec4 minus(float x, float y, float z, float w)
    • minus

      public ImVec4 minus(ImVec4 value)
    • times

      public ImVec4 times(float x, float y, float z, float w)
    • times

      public ImVec4 times(ImVec4 value)
    • div

      public ImVec4 div(float x, float y, float z, float w)
    • div

      public ImVec4 div(ImVec4 value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ImVec4 clone()
      Overrides:
      clone in class Object