Tabnine Logo
YoAppearanceRGBColor.setTransparency
Code IndexAdd Tabnine to your IDE (free)

How to use
setTransparency
method
in
us.ihmc.graphicsDescription.appearance.YoAppearanceRGBColor

Best Java code snippets using us.ihmc.graphicsDescription.appearance.YoAppearanceRGBColor.setTransparency (Showing top 12 results out of 315)

origin: us.ihmc/ihmc-graphics-description

public YoAppearanceRGBColor(double red, double green, double blue, double transparency)
{
 color = new MutableColor((float) red, (float) green, (float) blue);
 awtColor = new Color((float) red, (float) green, (float) blue, (float) (1.0 - transparency));
 setTransparency(transparency);
}
origin: us.ihmc/IHMCGraphicsDescription

public YoAppearanceRGBColor(Color color, double transparency)
{
 this.color = new Color3f(color);
 awtColor = new Color(color.getRed() / 255.0f, color.getGreen() / 255.0f, color.getBlue() / 255.0f, (float) (1.0 - transparency));
 setTransparency(transparency);
}
origin: us.ihmc/ihmc-graphics-description

public YoAppearanceRGBColor(float red, float green, float blue, double transparency)
{
 color = new MutableColor(red, green, blue);
 awtColor = new Color(red, green, blue, (float) (1.0 - transparency));
 setTransparency(transparency);
}
origin: us.ihmc/IHMCGraphicsDescription

public YoAppearanceRGBColor(float red, float green, float blue, double transparency)
{
 color = new Color3f(red, green, blue);
 awtColor = new Color(red, green, blue, (float) (1.0 - transparency));
 setTransparency(transparency);
}
origin: us.ihmc/ihmc-graphics-description

public YoAppearanceRGBColor(Color color, double transparency)
{
 this.color = new MutableColor(color);
 awtColor = new Color(color.getRed() / 255.0f, color.getGreen() / 255.0f, color.getBlue() / 255.0f, (float) (1.0 - transparency));
 setTransparency(transparency);
}
origin: us.ihmc/IHMCGraphicsDescription

public YoAppearanceRGBColor(double red, double green, double blue, double transparency)
{
 color = new Color3f((float) red, (float) green, (float) blue);
 awtColor = new Color((float) red, (float) green, (float) blue, (float) (1.0 - transparency));
 setTransparency(transparency);
}
origin: us.ihmc/ihmc-jmonkey-engine-toolkit

public void run()
{
  transparency += 0.01;
  if (transparency > 1.0)
   transparency = 0.0;
  MutableColor color = new MutableColor((float) Math.random(), (float) Math.random(), (float) Math.random());
  YoAppearanceRGBColor appearance = new YoAppearanceRGBColor(color, 0.0);
  appearance.setTransparency(transparency);
  instruction.setAppearance(appearance);
}
origin: us.ihmc/IHMCJMonkeyEngineToolkit

public void run()
{
  transparency += 0.01;
  if (transparency > 1.0)
   transparency = 0.0;
  Color3f color = new Color3f((float) Math.random(), (float) Math.random(), (float) Math.random());
  YoAppearanceRGBColor appearance = new YoAppearanceRGBColor(color, 0.0);
  appearance.setTransparency(transparency);
  instruction.setAppearance(appearance);
}
origin: us.ihmc/ihmc-jmonkey-engine-toolkit

public void run()
{
  transparency += 0.01;
  if (transparency > 1.0) transparency = 0.0;
    MutableColor color = new MutableColor((float) Math.random(), (float) Math.random(), (float) Math.random());
  YoAppearanceRGBColor appearance = new YoAppearanceRGBColor(color, 0.0);
  appearance.setTransparency(transparency);
  instruction.setAppearance(appearance);
}
origin: us.ihmc/IHMCJMonkeyEngineToolkit

public void run()
{
  transparency += 0.01;
  if (transparency > 1.0) transparency = 0.0;
    Color3f color = new Color3f((float) Math.random(), (float) Math.random(), (float) Math.random());
  YoAppearanceRGBColor appearance = new YoAppearanceRGBColor(color, 0.0);
  appearance.setTransparency(transparency);
  instruction.setAppearance(appearance);
}
origin: us.ihmc/ihmc-graphics-description

public YoAppearanceRGBColor(MutableColor color, double transparency)
{
 this.color = new MutableColor(color);
 awtColor = new Color(this.color.getX(), this.color.getY(), this.color.getZ(), (float) (1.0 - transparency));
 setTransparency(transparency);
}
origin: us.ihmc/IHMCGraphicsDescription

public YoAppearanceRGBColor(Color3f color, double transparency)
{
 this.color = new Color3f(color);
 awtColor = new Color(this.color.getX(), this.color.getY(), this.color.getZ(), (float) (1.0 - transparency));
 setTransparency(transparency);
}
us.ihmc.graphicsDescription.appearanceYoAppearanceRGBColorsetTransparency

Popular methods of YoAppearanceRGBColor

  • <init>
  • getBlue
  • getColor
  • getGreen
  • getRed
  • getTransparency

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Runner (org.openjdk.jmh.runner)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now