[DllImport("HairWorksIntegration")] private static extern IntPtr hwAssetGetTextureName(HAsset aid, int textureType);
[DllImport("HairWorksIntegration")] private static extern IntPtr hwAssetGetBoneName(HAsset aid, int nth);
public static string hwAssetGetBoneNameString(HAsset aid, int nth) { return(Marshal.PtrToStringAnsi(hwAssetGetBoneName(aid, nth))); }
private static extern IntPtr hwAssetGetBoneName(HAsset aid, int nth);
[DllImport("HairWorksIntegration")] public static extern int hwAssetGetNumBones(HAsset aid);
[DllImport("HairWorksIntegration")] public static extern void hwAssetGetBoneWeights(HAsset aid, ref Vector4 o_weight);
[DllImport("HairWorksIntegration")] public static extern void hwAssetGetDefaultDescriptor(HAsset aid, ref Descriptor o_desc);
public static extern int hwAssetGetNumBones(HAsset aid);
public static extern Bool hwAssetRelease(HAsset aid);
public static extern void hwAssetGetBoneWeights(HAsset aid, ref Vector4 o_weight);
public static extern void hwAssetGetDefaultDescriptor(HAsset aid, ref Descriptor o_desc);
public static string hwAssetGetBoneNameString(HAsset aid, int nth) { return Marshal.PtrToStringAnsi(hwAssetGetBoneName(aid, nth)); }
public static extern void hwAssetGetBoneIndices(HAsset aid, ref Vector4 o_indices);
public static extern void hwAssetGetBindPose(HAsset aid, int nth, ref Matrix4x4 o_bindpose);
public static string hwAssetGetTextureNameString(HAsset aid, int textureType) { return(Marshal.PtrToStringAnsi(hwAssetGetTextureName(aid, textureType))); }
public static extern Bool hwAssetReload(HAsset aid);
[DllImport("HairWorksIntegration")] public static extern void hwAssetGetBoneIndices(HAsset aid, ref Vector4 o_indices);
[DllImport("HairWorksIntegration")] public static extern Bool hwAssetRelease(HAsset aid);
[DllImport("HairWorksIntegration")] public static extern void hwAssetGetBindPose(HAsset aid, int nth, ref Matrix4x4 o_bindpose);
[DllImport("HairWorksIntegration")] public static extern BoolUTJ hwAssetReload(HAsset aid);
[DllImport("HairWorksIntegration")] public static extern HInstance hwInstanceCreate(HAsset aid);
public static extern HInstance hwInstanceCreate(HAsset aid);