Partilhar via


ConnectingLine.Create(Transform, Transform, Transform, Single, Color) Método

Definição

Create segmento de linha conectando duas transformações e anexado a um terceiro

public static Microsoft.MixedReality.WorldLocking.Tools.ConnectingLine Create (UnityEngine.Transform parent, UnityEngine.Transform transformA, UnityEngine.Transform transformB, float width, UnityEngine.Color color);
static member Create : UnityEngine.Transform * UnityEngine.Transform * UnityEngine.Transform * single * UnityEngine.Color -> Microsoft.MixedReality.WorldLocking.Tools.ConnectingLine
Public Shared Function Create (parent As Transform, transformA As Transform, transformB As Transform, width As Single, color As Color) As ConnectingLine

Parâmetros

parent
UnityEngine.Transform

Pai para desligar o segmento de linha de

transformA
UnityEngine.Transform

Ponto de extremidade inicial do segmento de linha

transformB
UnityEngine.Transform

Enging endpoint of line segment

width
Single

Largura do LineRenderer do Unity

color
UnityEngine.Color

Cor do segmento de linha

Retornos

Aplica-se a