OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetPhysicsEngineName C# (CSharp) 메소드

osGetPhysicsEngineName() 공개 메소드

public osGetPhysicsEngineName ( ) : string
리턴 string
        public string osGetPhysicsEngineName()
        {
            // not doing security checks
            // this whould limit the use of this

            m_host.AddScriptLPS(1);
            string ret = "NoEngine";
            if (m_ScriptEngine.World.PhysicsScene != null)
            {
                ret = m_ScriptEngine.World.PhysicsScene.EngineName;
                // An old physics engine might have an uninitialized engine type
                if (ret == null)
                    ret = "UnknownEngine";
                }
            return ret;
        }
        public string osGetSimulatorVersion()
OSSL_Api