編輯

共用方式為


StripMeshLineRenderer.GenerateStripMesh Method

Definition

public:
 static void GenerateStripMesh(System::Collections::Generic::List<UnityEngine::Vector3> ^ positionList, System::Collections::Generic::List<UnityEngine::Color> ^ colorList, System::Collections::Generic::List<float> ^ thicknessList, float uvOffsetLocal, System::Collections::Generic::List<UnityEngine::Vector3> ^ forwardList, UnityEngine::Mesh ^ mesh, UnityEngine::Vector3 up);
public static void GenerateStripMesh (System.Collections.Generic.List<UnityEngine.Vector3> positionList, System.Collections.Generic.List<UnityEngine.Color> colorList, System.Collections.Generic.List<float> thicknessList, float uvOffsetLocal, System.Collections.Generic.List<UnityEngine.Vector3> forwardList, UnityEngine.Mesh mesh, UnityEngine.Vector3 up);
static member GenerateStripMesh : System.Collections.Generic.List<UnityEngine.Vector3> * System.Collections.Generic.List<UnityEngine.Color> * System.Collections.Generic.List<single> * single * System.Collections.Generic.List<UnityEngine.Vector3> * UnityEngine.Mesh * UnityEngine.Vector3 -> unit
Public Shared Sub GenerateStripMesh (positionList As List(Of Vector3), colorList As List(Of Color), thicknessList As List(Of Single), uvOffsetLocal As Single, forwardList As List(Of Vector3), mesh As Mesh, up As Vector3)

Parameters

positionList
List<UnityEngine.Vector3>
colorList
List<UnityEngine.Color>
thicknessList
List<Single>
uvOffsetLocal
Single
forwardList
List<UnityEngine.Vector3>
mesh
UnityEngine.Mesh
up
UnityEngine.Vector3

Applies to