OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llSetText C# (CSharp) Method

llSetText() public method

public llSetText ( string text, OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3 color, double alpha ) : void
text string
color OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3
alpha double
return void
        public void llSetText(string text, LSL_Vector color, double alpha)
        {
            m_host.AddScriptLPS(1);
            Vector3 av3 = Util.Clip(color, 0.0f, 1.0f);
            byte[] data;
            data = Util.StringToBytes256(text);
            text = Util.UTF8.GetString(data);
            m_host.SetText(text, av3, Util.Clip((float)alpha, 0.0f, 1.0f));
        }
LSL_Api