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

llDetectedTouchFace() public method

See http://wiki.secondlife.com/wiki/LlDetectedTouchFace for details
public llDetectedTouchFace ( int index ) : Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLInteger
index int
return Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLInteger
        public LSL_Integer llDetectedTouchFace(int index)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return new LSL_Integer();

            DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_host.UUID, m_itemID, index);
            if (detectedParams == null)
                return new LSL_Integer(-1);
            return new LSL_Integer(detectedParams.TouchFace);
        }
LSL_Api