Class z_AdditionalVertexStreams
Workaround for bug in MeshRenderer.additionalVertexStreams
.
Namely, the mesh is not persistent in the editor and needs to be "refreshed" constantly.
Inherited Members
Namespace: Polybrush
Assembly: Unity.Polybrush.dll
Syntax
[ExecuteInEditMode]
[Obsolete]
public class z_AdditionalVertexStreams : MonoBehaviour
Fields
m_AdditionalVertexStreamMesh
The Mesh set as additional vertex stream
Declaration
public Mesh m_AdditionalVertexStreamMesh
Field Value
Type | Description |
---|---|
Mesh |
Methods
SetAdditionalVertexStreamsMesh(Mesh)
Setting the additional vertex streams
Declaration
public void SetAdditionalVertexStreamsMesh(Mesh mesh)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | The Mesh to use for additionalVertexStreams |