kOS.Suffixed.VectorRenderer.SetLabel C# (CSharp) 메소드

SetLabel() 공개 메소드

public SetLabel ( kOS.Safe.Encapsulation.StringValue newVal ) : void
newVal kOS.Safe.Encapsulation.StringValue
리턴 void
        public void SetLabel(StringValue newVal)
        {
            labelStr = newVal;
            if (label != null) label.text = labelStr;
            RenderPointCoords();
        }

Usage Example

예제 #1
0
파일: Suffixed.cs 프로젝트: CalebJ2/KOS
        public void DoExecuteWork(SharedObjects shared, Vector start, Vector vec, RgbaColor rgba, string str, double scale, bool show, double width)
        {
            var vRend = new VectorRenderer( shared.UpdateHandler, shared )
                {
                    Vector = vec,
                    Start = start,
                    Color = rgba,
                    Scale = scale,
                    Width = width
                };
            vRend.SetLabel( str );
            vRend.SetShow( show );

            ReturnValue = vRend;
        }
All Usage Examples Of kOS.Suffixed.VectorRenderer::SetLabel