void ComputeFaceTextureCoordinatesFromParameters()
void ComputeFaceTextureCoordinatesFromParameters( IEnumerable<FaceHandle> faces )
void ComputeFaceTextureCoordinatesFromParameters( IEnumerable<FaceHandle> faces, Transform transform, IReadOnlyList<Vector2> textureSizes, float defaultScale )

book_4_sparkGenerated
code_blocksInput

Description

The ComputeFaceTextureCoordinatesFromParameters method is a member of the PolygonMesh class in the Sandbox namespace. This method is responsible for computing the texture coordinates for the faces of a polygon mesh based on predefined parameters. It is a public instance method, meaning it can be called on an instance of the PolygonMesh class.

Usage

To use the ComputeFaceTextureCoordinatesFromParameters method, you need to have an instance of the PolygonMesh class. Once you have the instance, you can call this method to compute the texture coordinates for the faces of the mesh. This method does not take any parameters and does not return any value.

Example

// Assuming 'polygonMesh' is an instance of PolygonMesh
polygonMesh.ComputeFaceTextureCoordinatesFromParameters();