Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Create a Imageset object with the given name and Texture.

Namespace: Visual3D.UI
Assembly: Visual3D.UI (in Visual3D.UI.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public ImageSet CreateImageset(
	string name,
	string textureName
)
Public Function CreateImageset ( _
	name As String, _
	textureName As String _
) As ImageSet

Parameters

name
String
The unique name for the Imageset being created.
textureName
String

Return Value

A reference to the newly created Imageset object.

Remarks

The created Imageset will be of limited use, and will require one or more images to be defined for the set.

Exceptions

ExceptionCondition
[!:ContentAlreadyExistsException]If an Imageset with the specified name already exists in the system.

See Also