Class OgreLensFlare

  • All Implemented Interfaces:
    be.yildizgames.common.jni.Native

    public final class OgreLensFlare
    extends be.yildizgames.module.graphic.light.LensFlare
    implements be.yildizgames.common.jni.Native
    Ogre implementation for a Lens flare.
    Author:
    Grégory Van den Borre
    • Nested Class Summary

      • Nested classes/interfaces inherited from class be.yildizgames.module.graphic.light.LensFlare

        be.yildizgames.module.graphic.light.LensFlare.LensFlareMaterial
    • Constructor Summary

      Constructors 
      Constructor Description
      OgreLensFlare​(be.yildizgames.common.jni.NativePointer pointerAddress, be.yildizgames.common.geometry.Point3D position)
      Full constructor.
    • Constructor Detail

      • OgreLensFlare

        public OgreLensFlare​(be.yildizgames.common.jni.NativePointer pointerAddress,
                             be.yildizgames.common.geometry.Point3D position)
        Full constructor.
        Parameters:
        pointerAddress - Pointer address to the associated native object.
        position - lens flare position.
    • Method Detail

      • setPositionImpl

        protected void setPositionImpl​(be.yildizgames.common.geometry.Point3D position)
        Specified by:
        setPositionImpl in class be.yildizgames.module.graphic.light.LensFlare
      • setStreakSize

        public void setStreakSize​(float w,
                                  float h)
        Specified by:
        setStreakSize in class be.yildizgames.module.graphic.light.LensFlare
      • setLightSize

        public void setLightSize​(float w,
                                 float h)
        Specified by:
        setLightSize in class be.yildizgames.module.graphic.light.LensFlare
      • delete

        public void delete()
        Specified by:
        delete in interface be.yildizgames.common.jni.Native
      • getPointer

        public be.yildizgames.common.jni.NativePointer getPointer()
        Specified by:
        getPointer in interface be.yildizgames.common.jni.Native