Package org.robwork.sdurw_geometry
Class Model3D.Texture
- java.lang.Object
-
- org.robwork.sdurw_geometry.Model3D.Texture
-
- Direct Known Subclasses:
TextureData
- Enclosing class:
- Model3D
public static class Model3D.Texture extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Texture(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TexturePtr
clone()
Clone the current texturevoid
delete()
static long
getCPtr(Model3D.Texture obj)
java.lang.String
getName()
get id of textureVector3Df
getRGBData()
get RGB databoolean
hasImageData()
check if this texture has image data
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(Model3D.Texture obj)
-
delete
public void delete()
-
hasImageData
public boolean hasImageData()
check if this texture has image data- Returns:
- true if it has image data, false otherwise
-
getRGBData
public Vector3Df getRGBData()
get RGB data- Returns:
-
getName
public java.lang.String getName()
get id of texture- Returns:
-
clone
public TexturePtr clone()
Clone the current texture- Returns:
- rw::core::Ptr<Texture>
-
-