ITextureCubemap

All Implemented Interfaces: com.aspose.threed.ITextureUnit

public interface ITextureCubemap extends ITextureUnit

Cube map texture

Methods

MethodDescription
load(CubeFace face, TextureData data)Load the data into specified face
load(CubeFaceData data)Load texture content from specified TextureData
loadFromFiles(CubeFaceData fileNames)Load texture content from specified files
save(CubeFace side, TextureData bitmap)Save the specified side to memory
save(CubeFaceData bitmap)Save the texture content to memory.
save(CubeFaceData path, String format)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:

ParameterTypeDescription
faceCubeFace
dataTextureData

load(CubeFaceData data)

public abstract void load(CubeFaceData<TextureData> data)

Load texture content from specified TextureData

Parameters:

ParameterTypeDescription
datacom.aspose.threed.CubeFaceData<com.aspose.threed.TextureData>

loadFromFiles(CubeFaceData fileNames)

public abstract void loadFromFiles(CubeFaceData<String> fileNames)

Load texture content from specified files

Parameters:

ParameterTypeDescription
fileNamescom.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:

ParameterTypeDescription
sideCubeFace
bitmapTextureData

save(CubeFaceData bitmap)

public abstract void save(CubeFaceData<TextureData> bitmap)

Save the texture content to memory.

Parameters:

ParameterTypeDescription
bitmapcom.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:

ParameterTypeDescription
pathcom.aspose.threed.CubeFaceData<java.lang.String>File names to save.
formatjava.lang.StringImage format

toBitmap(CubeFace side)

public abstract TextureData toBitmap(CubeFace side)

Convert the texture unit to TextureData instance

Parameters:

ParameterTypeDescription
sideCubeFace

Returns: TextureData