OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osVolumeDetect C# (CSharp) Method

osVolumeDetect() public method

public osVolumeDetect ( int detect ) : void
detect int
return void
        public void osVolumeDetect(int detect)
        {
            m_host.AddScriptLPS(1);

            if (m_host.ParentGroup == null || m_host.ParentGroup.IsDeleted || m_host.ParentGroup.IsAttachment)
                return;

            m_host.ScriptSetVolumeDetect(detect != 0);
        }
OSSL_Api