Class AppearanceFactory

  • public class AppearanceFactory
    extends Object
    $Revision: 1.1 $ $Date: 2006/01/06 22:35:19 $
    Nick Collier
    • Constructor Detail

      • AppearanceFactory

        public AppearanceFactory()
    • Method Detail

      • setColoredAppearance

        public static org.jogamp.java3d.Appearance setColoredAppearance​(org.jogamp.java3d.Appearance appearance,
                                                                        Color color)
      • setTransparentAppearance

        public static org.jogamp.java3d.Appearance setTransparentAppearance​(org.jogamp.java3d.Appearance appearance,
                                                                            int mode,
                                                                            float transVal)
      • createAppearance

        public static org.jogamp.java3d.Appearance createAppearance()
      • setMaterialAppearance

        public static org.jogamp.java3d.Appearance setMaterialAppearance​(org.jogamp.java3d.Appearance appearance,
                                                                         Color color)
        Sets the material of the specified to appearance to the specified color. This will create a new Appearance if the specified appearance is null.
        appearance -
        color - the color to set the diffuse color of the material to.
        an appearance whose material is the specified color. If the specified appearance is not null, then it will be return having had its material's color set appropriately.
      • setPolygonAppearance

        public static org.jogamp.java3d.Appearance setPolygonAppearance​(org.jogamp.java3d.Appearance appearance,
                                                                        AppearanceFactory.PolygonDraw draw)