本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearance.RGBColor()
方法的一些代码示例,展示了YoAppearance.RGBColor()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoAppearance.RGBColor()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.appearance.YoAppearance
类名称:YoAppearance
方法名:RGBColor
暂无
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public static AppearanceDefinition RGBColorFrom8BitInts(int red, int green, int blue)
{
return RGBColor(((red)) / 255.0, ((green)) / 255.0, ((blue)) / 255.0);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition RGBColorFrom8BitInts(int red, int green, int blue)
{
return RGBColor(((red)) / 255.0, ((green)) / 255.0, ((blue)) / 255.0);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition randomColor(Random random)
{
double red = random.nextDouble();
double green = random.nextDouble();
double blue = random.nextDouble();
return YoAppearance.RGBColor(red, green, blue);
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public static AppearanceDefinition randomColor(Random random)
{
double red = random.nextDouble();
double green = random.nextDouble();
double blue = random.nextDouble();
return YoAppearance.RGBColor(red, green, blue);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition Color(MutableColor color)
{
return RGBColor(color.getX(), color.getY(), color.getZ());
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public static AppearanceDefinition Color(Color3f color)
{
return RGBColor(color.getX(), color.getY(), color.getZ());
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public TwoBollardEnvironment(double barrelSeparation)
{
// ground plane
generator.addRectangle(1.0, barrelSeparation + 0.5);
generator.translate(2.0, 0.0, 0.0);
generator.addRectangle(3.0, 3.0);
generator.translate(-4.0, 0.0, 0.0);
generator.addRectangle(3.0, 3.0);
addPlanarRegionsToTerrain(YoAppearance.RGBColor(110 / 256.0, 121 / 256.0, 121 / 256.0));
// first bollard
generator.identity();
generator.translate(0.0, 0.5 * barrelSeparation, 0.0);
generator.addCubeReferencedAtBottomMiddle(bollardWidth, bollardWidth, bollardHeight);
addPlanarRegionsToTerrain(YoAppearance.Yellow());
// second bollard
generator.identity();
generator.translate(0.0, -0.5 * barrelSeparation, 0.0);
generator.addCubeReferencedAtBottomMiddle(bollardWidth, bollardWidth, bollardHeight);
addPlanarRegionsToTerrain(YoAppearance.Yellow());
}
代码示例来源:origin: us.ihmc/ihmc-footstep-planning-test
translation.setZ(translation.getZ() - (lz / 2.0));
boundingBoxVisualization.translate(translation);
boundingBoxVisualization.addCube(lx, ly, lz, YoAppearance.RGBColor(1.0, 0, 0, 0.5));
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
generator.addRectangle(2.6, 2.4);
generator.translate(6.7, 0.0, 0.0);
addPlanarRegionsToTerrain(YoAppearance.RGBColor(110 / 256.0, 121 / 256.0, 121 / 256.0));
内容来源于网络,如有侵权,请联系作者删除!