Package jni

Class JniDirectionalLight


  • public class JniDirectionalLight
    extends Object
    Author:
    Grégory Van den Borre
    • Constructor Detail

      • JniDirectionalLight

        public JniDirectionalLight()
    • Method Detail

      • setPosition

        public void setPosition​(long pointer,
                                float x,
                                float y,
                                float z)
        Set the light position in native code.
        Parameters:
        pointer - Address of the native yz::DirectionalLight pointer.
        x - New X position.
        y - New Y position.
        z - New Z position.
      • delete

        public void delete​(long pointerAddress)
        Delete the object in native code.
        Parameters:
        pointerAddress - Address of the native yz::DirectionalLight pointer.