// CURVES --------------------------------------------------------------------------------------------------- public static HAPI_CurveInfo getCurveInfo( HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id, HAPI_PartId part_id, ref HAPI_VolumeInfo volume_info ) { #if ( UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || ( UNITY_METRO && UNITY_EDITOR ) ) HAPI_CurveInfo curve_info = new HAPI_CurveInfo(); HAPI_Result status_code = HAPI_GetCurveInfo( ref mySession, asset_id, object_id, geo_id, part_id, ref curve_info ); processStatusCode( status_code ); return curve_info; #else throw new HoudiniErrorUnsupportedPlatform(); #endif }
HAPI_GetCurveInfo( HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id, HAPI_PartId part_id, ref HAPI_CurveInfo curve_info);
HAPI_SetCurveInfo( ref HAPI_Session session, HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id, HAPI_PartId part_id, ref HAPI_CurveInfo curve_info );
private static extern HAPI_Result HAPI_SetCurveInfo( ref HAPI_Session session, HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id, HAPI_PartId part_id, ref HAPI_CurveInfo curve_info );