当前位置: 首页>>代码示例>>C#>>正文


C# HAPI_Session类代码示例

本文整理汇总了C#中HAPI_Session的典型用法代码示例。如果您正苦于以下问题:C# HAPI_Session类的具体用法?C# HAPI_Session怎么用?C# HAPI_Session使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


HAPI_Session类属于命名空间,在下文中一共展示了HAPI_Session类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: getSession

 private static bool getSession( out HAPI_Session session, string pipe_name )
 {
     #if ( UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || ( UNITY_METRO && UNITY_EDITOR ) )
     HAPI_Result status_code = HAPI_CreateThriftNamedPipeSession( out session, prPipeName );
     if ( status_code != HAPI_Result.HAPI_RESULT_SUCCESS )
     {
         prLastInitializationError =
             "Could not create the RPC pipe session.\n" +
             "Make sure " + prServerExecutablePath + " exists.";
         return false;
     }
     prSessionID = session.id;
     #else
     session.id = 0;
     session.type = HAPI_SessionType.HAPI_SESSION_INPROCESS;
     #endif // UNITY_EDITOR
     return true;
 }
开发者ID:mbradley36,项目名称:SESIJam,代码行数:18,代码来源:HoudiniHostSession.cs

示例2: HAPI_SetPartInfo

	HAPI_SetPartInfo(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id,
		ref HAPI_PartInfo part_info );
开发者ID:marvalgames,项目名称:evol,代码行数:4,代码来源:HoudiniHostImports.cs

示例3: HAPI_GetImageMemoryBuffer

	HAPI_GetImageMemoryBuffer(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_MaterialId material_id,
		[Out] byte[] buffer,
		int length );
开发者ID:marvalgames,项目名称:evol,代码行数:5,代码来源:HoudiniHostImports.cs

示例4: HAPI_ExtractImageToFile

	HAPI_ExtractImageToFile(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_MaterialId material_id,
		string image_file_format_name,
		string image_planes,
		string destination_folder_path,
		string destination_file_name,
		out int destination_file_path );
开发者ID:marvalgames,项目名称:evol,代码行数:8,代码来源:HoudiniHostImports.cs

示例5: HAPI_GetImagePlaneCount

	HAPI_GetImagePlaneCount(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_MaterialId material_id,
		out int image_plane_count );
开发者ID:marvalgames,项目名称:evol,代码行数:4,代码来源:HoudiniHostImports.cs

示例6: HAPI_GetSupportedImageFileFormats

	HAPI_GetSupportedImageFileFormats(
		ref HAPI_Session session,
		[Out] HAPI_ImageFileFormat[] formats_array,
		int file_format_count );
开发者ID:marvalgames,项目名称:evol,代码行数:4,代码来源:HoudiniHostImports.cs

示例7: HAPI_RenderTextureToImage

	HAPI_RenderTextureToImage(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_MaterialId material_id,
		HAPI_ParmId parm_id );
开发者ID:marvalgames,项目名称:evol,代码行数:4,代码来源:HoudiniHostImports.cs

示例8: HAPI_GetMaterialOnPart

	HAPI_GetMaterialOnPart(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id, HAPI_PartId part_id,
		out HAPI_MaterialInfo material_info );
开发者ID:marvalgames,项目名称:evol,代码行数:4,代码来源:HoudiniHostImports.cs

示例9: HAPI_SetGroupMembership

	HAPI_SetGroupMembership(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id,
		HAPI_GroupType group_type,
		string group_name,
		[Out] int[] membership_array,
		int start, int length );
开发者ID:marvalgames,项目名称:evol,代码行数:7,代码来源:HoudiniHostImports.cs

示例10: HAPI_AddGroup

	HAPI_AddGroup(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id,
		HAPI_GroupType group_type,
		string group_name );
开发者ID:marvalgames,项目名称:evol,代码行数:5,代码来源:HoudiniHostImports.cs

示例11: HAPI_SetAttributeStringData

	HAPI_SetAttributeStringData(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id,
		string name,
		ref HAPI_AttributeInfo attr_info,
		string[] data_array,
		int start, int length );
开发者ID:marvalgames,项目名称:evol,代码行数:7,代码来源:HoudiniHostImports.cs

示例12: HAPI_AddAttribute

	HAPI_AddAttribute(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id,
		string name,
		ref HAPI_AttributeInfo attr_info );
开发者ID:marvalgames,项目名称:evol,代码行数:5,代码来源:HoudiniHostImports.cs

示例13: HAPI_SetVertexList

	HAPI_SetVertexList(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id,
		int[] vertex_list_array,
		int start, int length );
开发者ID:marvalgames,项目名称:evol,代码行数:5,代码来源:HoudiniHostImports.cs

示例14: HAPI_CloseSession

	HAPI_CloseSession( ref HAPI_Session session );
开发者ID:marvalgames,项目名称:evol,代码行数:1,代码来源:HoudiniHostImports.cs

示例15: HAPI_SetFaceCounts

	HAPI_SetFaceCounts(
		ref HAPI_Session session,
		HAPI_AssetId asset_id, HAPI_ObjectId object_id, HAPI_GeoId geo_id,
		int[] face_counts_array,
		int start, int length );
开发者ID:marvalgames,项目名称:evol,代码行数:5,代码来源:HoudiniHostImports.cs


注:本文中的HAPI_Session类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。