Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llSensorRepeat C# (CSharp) Метод

llSensorRepeat() публичный Метод

public llSensorRepeat ( string name, string id, int type, double range, double arc, double rate ) : void
name string
id string
type int
range double
arc double
rate double
Результат void
        public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;

            UUID keyID = UUID.Zero;
            UUID.TryParse(id, out keyID);

            SensorRepeatPlugin sensorPlugin = (SensorRepeatPlugin)m_ScriptEngine.GetScriptPlugin("SensorRepeat");
            sensorPlugin.SetSenseRepeatEvent(m_host.UUID, m_itemID, name, keyID, type, range, arc, rate, m_host);
        }
LSL_Api