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

llSensor() public method

public llSensor ( string name, string id, int type, double range, double arc ) : void
name string
id string
type int
range double
arc double
return void
        public void llSensor(string name, string id, int type, double range, double arc)
        {
            m_host.AddScriptLPS(1);
            UUID keyID = UUID.Zero;
            UUID.TryParse(id, out keyID);

            AsyncCommands.SensorRepeatPlugin.SenseOnce(m_host.LocalId, m_item.ItemID, name, keyID, type, range, arc, m_host);
       }
LSL_Api