UVAtlasOutput.NumberCharts Property |
Language: |
Gets the number of charts created as a result of a UVAtlas method, or the number of charts required to create a texture atlas.
Visual Basic Public ReadOnly Property NumberCharts As Integer C# public int NumberCharts { get; } C++ public:
property int NumberCharts {
int get();
}JScript public function get NumberCharts() : int
System.Int32
This property is read-only.
An Int32 value that represents the number of charts created in the case of a successful UVAtlas texture atlas creation, or the number of charts required to create an atlas. See Remarks.
If UVAtlas.Pack or UVAtlas.Partition is called with the value of maxChartNumber set too low, a Direct3DXException will be thrown and this property will return the minimum number of charts required to create an atlas.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.