Creates new XBoxTextures texture set from the texture sourece array.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static XBoxTextures FromVariousTextures( Object[] textures ) |
Parameters
- textures
- Type: array<
System..::.Object
>[]()[]
Texture source array. The array size must be 8 and the array can contain following values :The Color type value The face will be filled with that color. Hodnota typu String The value will be interpreted as the name of the file to create the texture to fill the face. Hodnota typu Texture The face will be filled with the given texture. The Bitmap type value The texture that will be used to fill the face will be created from the bitmap.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | textures is nullNothingnullptra null reference (Nothing in Visual Basic). |