Class BoundingBoxEffect

  • All Implemented Interfaces:
    java.io.Serializable, WildMagic.LibGraphics.ObjectSystem.NameIdInterface, WildMagic.LibGraphics.ObjectSystem.StreamInterface

    public class BoundingBoxEffect
    extends WildMagic.LibGraphics.Effects.ShaderEffect
    implements WildMagic.LibGraphics.ObjectSystem.StreamInterface, java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private WildMagic.LibFoundation.Mathematics.ColorRGB background  
      private WildMagic.LibFoundation.Mathematics.ColorRGB color  
      private WildMagic.LibFoundation.Mathematics.Vector3f origin  
      private WildMagic.LibFoundation.Mathematics.Vector3f plane  
      private WildMagic.LibFoundation.Mathematics.Vector3f range  
      private WildMagic.LibFoundation.Mathematics.Vector3f scale  
      private static long serialVersionUID  
      • Fields inherited from class WildMagic.LibGraphics.Effects.ShaderEffect

        m_iPassQuantity, m_kAlphaState, m_kCompiledPrograms, m_kPShader, m_kVShader
    • Constructor Summary

      Constructors 
      Constructor Description
      BoundingBoxEffect​(WildMagic.LibFoundation.Mathematics.Vector3f origin, WildMagic.LibFoundation.Mathematics.Vector3f range, WildMagic.LibFoundation.Mathematics.Vector3f scale, WildMagic.LibFoundation.Mathematics.Vector3f plane)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void OnLoadPrograms​(int iPass, WildMagic.LibGraphics.Shaders.Program pkVProgram, WildMagic.LibGraphics.Shaders.Program pkPProgram, WildMagic.LibGraphics.Shaders.Program pkCProgram)  
      void setBackground​(WildMagic.LibFoundation.Mathematics.ColorRGBA backgroundC)  
      void setColor​(WildMagic.LibFoundation.Mathematics.ColorRGB colorC)  
      • Methods inherited from class WildMagic.LibGraphics.Effects.ShaderEffect

        dispose, GetAllObjectsByName, GetBlending, GetCProgram, GetDiskUsed, GetObjectByID, GetObjectByName, GetPassQuantity, GetPProgram, GetSamplerInformation, GetTexture, GetTexture, GetTextureQuantity, GetVProgram, Link, Load, LoadPrograms, LoadResources, OnReleasePrograms, Register, ReleasePrograms, ReleaseResources, RestoreGlobalState, Save, SaveStrings, SetCProgram, SetDefaultAlphaState, SetGlobalState, SetPassQuantity, SetPShader, SetVShader
      • Methods inherited from class WildMagic.LibGraphics.Effects.Effect

        Draw
      • Methods inherited from class WildMagic.LibGraphics.ObjectSystem.GraphicsObject

        GetID, GetName, GetNextID, GetObjectByIDBase, GetObjectByNameBase, SetName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface WildMagic.LibGraphics.ObjectSystem.StreamInterface

        GetDiskUsed, Link, Load, Register, Save, SaveStrings
    • Field Detail

      • origin

        private WildMagic.LibFoundation.Mathematics.Vector3f origin
      • range

        private WildMagic.LibFoundation.Mathematics.Vector3f range
      • scale

        private WildMagic.LibFoundation.Mathematics.Vector3f scale
      • plane

        private WildMagic.LibFoundation.Mathematics.Vector3f plane
      • color

        private WildMagic.LibFoundation.Mathematics.ColorRGB color
      • background

        private WildMagic.LibFoundation.Mathematics.ColorRGB background
    • Constructor Detail

      • BoundingBoxEffect

        public BoundingBoxEffect​(WildMagic.LibFoundation.Mathematics.Vector3f origin,
                                 WildMagic.LibFoundation.Mathematics.Vector3f range,
                                 WildMagic.LibFoundation.Mathematics.Vector3f scale,
                                 WildMagic.LibFoundation.Mathematics.Vector3f plane)
    • Method Detail

      • OnLoadPrograms

        public void OnLoadPrograms​(int iPass,
                                   WildMagic.LibGraphics.Shaders.Program pkVProgram,
                                   WildMagic.LibGraphics.Shaders.Program pkPProgram,
                                   WildMagic.LibGraphics.Shaders.Program pkCProgram)
        Overrides:
        OnLoadPrograms in class WildMagic.LibGraphics.Effects.ShaderEffect
      • setColor

        public void setColor​(WildMagic.LibFoundation.Mathematics.ColorRGB colorC)
      • setBackground

        public void setBackground​(WildMagic.LibFoundation.Mathematics.ColorRGBA backgroundC)