Click or drag to resize
AB4D logo

MeshUtilsGenerateCylindricalTextureCoordinates Method

Overload List
 NameDescription
Public methodStatic memberGenerateCylindricalTextureCoordinates(MeshGeometry3D, Vector3D, Vector3D) Returns a TextureCoordinates for the specified mesh. TextureCoordinates are calculated with using the Cylindrical projection. TextureCoordinates for position that are parallel to the cylinderDirectionVector use simple planar projection. TextureCoordinates for other positions are calculated based on the angle from the cylinder center axis to the position. The GenerateCylindricalTextureCoordinates does not set the TextureCoordinates on the mesh.
Public methodStatic memberGenerateCylindricalTextureCoordinates(MeshGeometry3D, Rect, Vector3D, Vector3D, Boolean) Returns a TextureCoordinates for the specified mesh. TextureCoordinates are calculated with using the Cylindrical projection. TextureCoordinates for position that are parallel to the cylinderDirectionVector use simple planar projection. TextureCoordinates for other positions are calculated based on the angle from the cylinder center axis to the position. The GenerateCylindricalTextureCoordinates does not set the TextureCoordinates on the mesh.
Top
See Also