public static int getEnvInt( HAPI_EnvIntType int_type ) { #if ( UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || ( UNITY_METRO && UNITY_EDITOR ) ) int value; HAPI_Result status_code = HAPI_GetEnvInt( int_type, out value ); processStatusCode( status_code ); return value; #else throw new HoudiniErrorUnsupportedPlatform(); #endif }
/// <summary> /// Returns environment value in Houdini Engine. /// </summary> /// <param name="intType">Type of environment variable</param> /// <returns>Value of environment variable</returns> public virtual int GetEnvInt(HAPI_EnvIntType intType) { return 0; }
HAPI_GetEnvInt(HAPI_EnvIntType int_type, out int value);
HAPI_GetEnvInt( HAPI_EnvIntType int_type, out int value );
private static extern HAPI_Result HAPI_GetEnvInt( HAPI_EnvIntType int_type, out int value );