Class PiXYZAPI
Syntax
public class PiXYZAPI : Interface
Constructors
PiXYZAPI(IntPtr)
Declaration
public PiXYZAPI(IntPtr session)
Parameters
Type |
Name |
Description |
IntPtr |
session |
|
Properties
Algo
Declaration
public AlgoInterface Algo { get; }
Property Value
CAD
Declaration
public CADInterface CAD { get; }
Property Value
Core
Declaration
public CoreInterface Core { get; }
Property Value
Geom
Declaration
public GeomInterface Geom { get; }
Property Value
IO
Declaration
public IOInterface IO { get; }
Property Value
Material
Declaration
public MaterialInterface Material { get; }
Property Value
Polygonal
Declaration
public PolygonalInterface Polygonal { get; }
Property Value
ProductName
Declaration
public string ProductName { get; }
Property Value
Scene
Declaration
public SceneInterface Scene { get; }
Property Value
Session
Declaration
public IntPtr Session { get; }
Property Value
Unity
Declaration
public UnityInterface Unity { get; }
Property Value
View
Declaration
public ViewInterface View { get; }
Property Value
Methods
ActiveSessions()
Declaration
public static List<PiXYZAPI> ActiveSessions()
Returns
GetLastError()
Declaration
public static string GetLastError()
Returns
Initialize(string, string, string[], string)
Initialize Pixyz API and create a new session
Declaration
public static PiXYZAPI Initialize(string productName = "", string validationKey = "", string[] optionalTokenList = null, string license = "")
Parameters
Type |
Name |
Description |
string |
productName |
Product name
|
string |
validationKey |
Product validation key
|
string[] |
optionalTokenList |
Token list to initialize the product with
|
string |
license |
License file (content)
|
Returns
Release()
Release Pixyz API and clear the session
Declaration
SetUnityLicenseClientChannels(string, string)
Set the licensing channel name to use if using a Unity license. Use if the licensing client was launched by another process (e.g the Unity Hub or the Unity Editor).
Should be called before initialization.
Declaration
public static void SetUnityLicenseClientChannels(string channelName, string secondaryChannelName)
Parameters
Type |
Name |
Description |
string |
channelName |
Channel name to which to connect.
|
string |
secondaryChannelName |
Secondary channel name to which to connect.
|