Click or drag to resize
AB4D logo

MeshUtilsGenerateCubicTextureCoordinates Method

Returns a TextureCoordinates for the specified mesh. TextureCoordinates are calculated with using the cubic projection that projects the 3D positions to an axis aligned 3D cube.

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.1.8147.1045
Syntax
C#
public static PointCollection GenerateCubicTextureCoordinates(
	MeshGeometry3D mesh
)

Parameters

mesh
Type: System.Windows.Media.Media3DMeshGeometry3D
MeshGeometry3D

Return Value

Type: PointCollection
PointCollection with calculated TextureCoordinates
See Also