Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llSetText C# (CSharp) Method

llSetText() public method

public llSetText ( string text, Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.Vector3 color, Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLFloat alpha ) : void
text string
color Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.Vector3
alpha Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLFloat
return void
        public void llSetText(string text, LSL_Vector color, LSL_Float alpha)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;

            Vector3 av3 = new Vector3(Util.Clip((float)color.x, 0.0f, 1.0f),
                                      Util.Clip((float)color.y, 0.0f, 1.0f),
                                      Util.Clip((float)color.z, 0.0f, 1.0f));
            m_host.SetText(text.Length > 254 ? text.Remove(254) : text, av3, Util.Clip((float)alpha, 0.0f, 1.0f));
            //m_host.ParentGroup.HasGroupChanged = true;
            //m_host.ParentGroup.ScheduleGroupForFullUpdate();
        }
LSL_Api