C# Reference Implementation

   15229   8   3
User Avatar
Member
646 posts
Joined: July 2013
Offline
I was pleasantly surprised that there are C# bindings for Houdini Engine (thanks Unity!).

I've installed the Unity plugin on my laptop.

Can anyone offer any guidance on getting started with Houdini Engine under C#?

Thanks.
Houdini Indie
Karma/Redshift 3D
User Avatar
Member
646 posts
Joined: July 2013
Offline
To anyone following along…the entry point into HAPI is the HoudiniHostLinker.cs class.
Houdini Indie
Karma/Redshift 3D
User Avatar
Member
402 posts
Joined: March 2013
Offline
I keep meaning to extract our C# bindings from the Unity plugin and offer them standalone. Might be worth submitting an RFE to support@sidefx.com to bump up the priority a bit.

Otherwise, yes, you'll want to use HoudiniHostLinker.cs and HoudiniCommon.cs. They should be pretty much standalone from the rest of the Unity project. HoudiniHostWrappers.cs might also be useful if you want automatic result code error checking but that might need more work getting it free from other Unity plugin dependencies.
User Avatar
Member
38 posts
Joined: Sept. 2017
Offline
Did this ever get done, and @Daryl Dunlap - How did you get on?
User Avatar
Member
571 posts
Joined: May 2017
Offline
We'll be extracting the HAPI C# imports from the Unity plugin and making them available as standalone module soon. Will update this thread when that has been done.
Edited by seelan - April 3, 2019 13:31:48
User Avatar
Member
38 posts
Joined: Sept. 2017
Offline
Thanks!
User Avatar
Member
38 posts
Joined: Sept. 2017
Offline
Btw what are the licensing implications of integrating this with other software?
User Avatar
Member
571 posts
Joined: May 2017
Offline
The C# binding is to HAPI, and HAPI uses Houdini Engine. Therefore, it would be the Houdini Engine licensing.
User Avatar
Member
4 posts
Joined: Oct. 2021
Offline
Is a standalone C# API module available anywhere? I am a C# dev just starting with Houdini.
  • Quick Links