Share

GraphicsTextureCoordinateSet Object

Derived from: GraphicsDataSet Object

Description

The GraphicsTextureCoordinateSet object contains a list of coordinate values

Methods

Name Description
Add Method that adds a single coordinate to the set.
Delete Method that deletes the GraphicsDataSet.
GetCoordinates Method that gets all of the coordinates of the set.
PutCoordinates Method that sets all of the coordinates of the set. This will replace all existing coordinates currently defined for the set.
Remove Method that removes a coordinate from the set.

Properties

Name Description
Coordinate Read-write property that gets and sets the value of a specific coordinate within the set.
Count Property that returns the number of objects in this collection.
Id Property returning the unique id of this GraphicsDataSet.
TextureDimension Read-write property that defines the dimension of the texture coordinate array.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

GraphicsDataSets.CreateTextureCoordinateSet, TriangleFanGraphics.TextureCoordinateSet, TriangleGraphics.TextureCoordinateSet, TriangleStripGraphics.TextureCoordinateSet

Samples

Name Description
Client graphics texture-based color mapping This test applies texture coordinates expressing distance from the origin to 'the triangle mesh of whatever Part you have open. It then creates either a discrete-band or continuous color mapper and allows you to adjust the values of the mapper to change the range of values that map to various colors.

Version

Introduced in version 2010

Was this information helpful?