TextureSlot

Inheritance: java.lang.Object

public class TextureSlot

Texture slot को Material में, सामग्री उदाहरण के माध्यम से गिना जा सकता है। Example:

var mat = new LambertMaterial();
     var tex = new Texture();
     tex.setFileName("diffuse.png");
     mat.setTexture(Material.MAP_DIFFUSE, tex);
     for(var slot : mat)
     {
         System.out.printf("Texture slot %s = %s", slot.getSlotName(), slot.getTexture());
     }

विधियाँ

विधिविवरण
equals(Object arg0)
getClass()
getSlotName()स्लॉट का नाम जो दर्शाता है कि यह टेक्सचर कहाँ बंधेगा।
getTexture()टेक्सचर जो सामग्री से बंधेगा।
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

पैरामीटरप्रकारविवरण
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getSlotName()

public String getSlotName()

स्लॉट का नाम जो दर्शाता है कि यह टेक्सचर कहाँ बंधेगा।

Returns: java.lang.String - स्लॉट का नाम जो दर्शाता है कि यह टेक्सचर कहाँ बंधेगा।

getTexture()

public TextureBase getTexture()

टेक्सचर जो सामग्री से बंधेगा।

Returns: TextureBase - The texture that will be bounded to the material.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

पैरामीटरप्रकारविवरण
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

पैरामीटरप्रकारविवरण
arg0long
arg1int