Ejemplo n.º 1
0
	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;
		}
Ejemplo n.º 3
0
 HAPI_GetEnvInt(HAPI_EnvIntType int_type, out int value);
Ejemplo n.º 4
0
	HAPI_GetEnvInt( HAPI_EnvIntType int_type, out int value );
Ejemplo n.º 5
0
 private static extern HAPI_Result HAPI_GetEnvInt( HAPI_EnvIntType int_type, out int value );