类 JImVec4

java.lang.Object
org.ice1000.jimgui.JImVec4
所有已实现的接口:
AutoCloseable, DeallocatableObject
直接已知子类:
MutableJImVec4

public class JImVec4 extends Object implements DeallocatableObject
Off-stack Vector, read only
从以下版本开始:
v0.1
另请参阅:
which is mutable
  • 构造器详细资料

    • JImVec4

      @Contract public JImVec4()
    • JImVec4

      @Contract public JImVec4(float x, float y, float z, float w)
  • 方法详细资料

    • getW

      @Contract(pure=true) public final float getW()
      Don't call this unless necessary.
    • getX

      @Contract(pure=true) public final float getX()
      Don't call this unless necessary.
    • getY

      @Contract(pure=true) public final float getY()
      Don't call this unless necessary.
    • getZ

      @Contract(pure=true) public final float getZ()
      Don't call this unless necessary.
    • toU32

      @Contract(pure=true) public final int toU32()
      convert to ImU32, unsigned 32-bit integer
    • deallocateNativeObject

      public final void deallocateNativeObject()
      Should only be called once.
      指定者:
      deallocateNativeObject 在接口中 DeallocatableObject
    • fromHSV

      @Contract @NotNull public static @NotNull MutableJImVec4 fromHSV(float h, float s, float v)
      Convert HSV color to RGB
      返回:
      a mutable imgui vec4 instance
    • fromHSV

      @Contract @NotNull public static @NotNull MutableJImVec4 fromHSV(float h, float s, float v, float a)
      Convert HSV color to RGB
      返回:
      a mutable imgui vec4 instance
    • fromU32

      @Contract @NotNull public static @NotNull MutableJImVec4 fromU32(int u32)
      参数:
      u32 - unsigned 32-bit int color representation
      返回:
      a mutable imgui vec4 instance
      另请参阅:
      toU32()
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object