Click or drag to resize
TileCategoryFrameMembership Constructor
Constructs membership information for tile given all the information for the membership

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public TileCategoryFrameMembership(
	int nFrameSequenceCount,
	params TileFrameMembership[] membership
)

Parameters

nFrameSequenceCount
Type: SystemInt32
The number of distinct frames the tile has
membership
Type: (Default Namespace)TileFrameMembership
A list of memberships for some or all of the tile's frames. For each category that contains one or more of the tile's frames, there should be one element in this list.
Remarks
The membership parameter is only a temporary object used in the process of constructing this object and is discarded when construction is complete. This is done to abbreviate the code that constructs these memberships since the number of distinct categories in which the tile's various frames are members is usually low, but there may be many distinct frames that are included in each category. This information is converted to a more optimal format during construction, which allows the code to determine if a frame is in a category without doing any searching. So the original membership data is no longer required.
See Also