ITextureCubemap
All Implemented Interfaces: com.aspose.threed.ITextureUnit
public interface ITextureCubemap extends ITextureUnit
Cube map texture
Methods
Method | Description |
---|---|
load(CubeFace face, TextureData data) | Load the data into specified face |
load(CubeFaceData | Load texture content from specified TextureData |
loadFromFiles(CubeFaceData | Load texture content from specified files |
save(CubeFace side, TextureData bitmap) | Save the specified side to memory |
save(CubeFaceData | Save the texture content to memory. |
save(CubeFaceData | Save the cube’s sides texture content to external files. |
toBitmap(CubeFace side) | Convert the texture unit to TextureData instance |
load(CubeFace face, TextureData data)
public abstract void load(CubeFace face, TextureData data)
Load the data into specified face
Parameters:
Parameter | Type | Description |
---|---|---|
face | CubeFace | |
data | TextureData |
load(CubeFaceData data)
public abstract void load(CubeFaceData<TextureData> data)
Load texture content from specified TextureData
Parameters:
Parameter | Type | Description |
---|---|---|
data | com.aspose.threed.CubeFaceData<com.aspose.threed.TextureData> |
loadFromFiles(CubeFaceData fileNames)
public abstract void loadFromFiles(CubeFaceData<String> fileNames)
Load texture content from specified files
Parameters:
Parameter | Type | Description |
---|---|---|
fileNames | com.aspose.threed.CubeFaceData<java.lang.String> |
save(CubeFace side, TextureData bitmap)
public abstract void save(CubeFace side, TextureData bitmap)
Save the specified side to memory
Parameters:
Parameter | Type | Description |
---|---|---|
side | CubeFace | |
bitmap | TextureData |
save(CubeFaceData bitmap)
public abstract void save(CubeFaceData<TextureData> bitmap)
Save the texture content to memory.
Parameters:
Parameter | Type | Description |
---|---|---|
bitmap | com.aspose.threed.CubeFaceData<com.aspose.threed.TextureData> | Result bitmap to save. |
save(CubeFaceData path, String format)
public abstract void save(CubeFaceData<String> path, String format)
Save the cube’s sides texture content to external files.
Parameters:
Parameter | Type | Description |
---|---|---|
path | com.aspose.threed.CubeFaceData<java.lang.String> | File names to save. |
format | java.lang.String | Image format |
toBitmap(CubeFace side)
public abstract TextureData toBitmap(CubeFace side)
Convert the texture unit to TextureData instance
Parameters:
Parameter | Type | Description |
---|---|---|
side | CubeFace |
Returns: TextureData