Beispiel #1
0
 public static extern void GrannyBuildWorldPose(
     TPtr <granny_skeleton> Skeleton,
     int FirstBone,
     int BoneCount,
     TPtr <granny_local_pose> LocalPose,
     [In] ref granny_matrix_4x4 Offset4x4,
     TPtr <granny_world_pose> Result);
Beispiel #2
0
 public static extern void GrannyDeformVertices(
     TPtr <granny_mesh_deformer> Deformer,
     [In] int[] MatrixIndices,
     [In] ref granny_matrix_4x4 MatrixBuffer4x4,
     int VertexCount,
     IntPtr SourceVertices,
     IntPtr DestVertices);
Beispiel #3
0
 public static extern void GrannyTransformFile(
     TPtr <granny_file_info> FileInfo,
     [In] ref Vector3 Affine3,
     [In] ref granny_matrix_3x3 Linear3x3,
     [In] ref granny_matrix_3x3 InverseLinear3x3,
     float AffineTolerance,
     float LinearTolerance,
     granny_transform_file_flags Flags);
Beispiel #4
0
 public static extern void GrannyGetWorldMatrixFromLocalPose(
     [In] TPtr <granny_skeleton> Skeleton,
     int BoneIndex,
     [In] TPtr <granny_local_pose> LocalPose,
     [In] ref granny_matrix_4x4 Offset4x4,
     out granny_matrix_4x4 Result4x4,
     [In] int[] SparseBoneArray,
     [In] int[] SparseBoneArrayReverse);
Beispiel #5
0
 public static extern bool GrannyComputeBasisConversion(
     [In] TPtr <granny_file_info> FileInfo,
     float DesiredUnitsPerMeter,
     [In] ref Vector3 DesiredOrigin3,
     [In] ref Vector3 DesiredRight3,
     [In] ref Vector3 DesiredUp3,
     [In] ref Vector3 DesiredBack3,
     out Vector3 ResultAffine3,
     out granny_matrix_3x3 ResultLinear3x3,
     out granny_matrix_3x3 ResultInverseLinear3x3);
Beispiel #6
0
 public static extern TPtr <int> GrannyGetMeshBindingToBoneIndices(TPtr <granny_mesh_binding> Binding);
Beispiel #7
0
 public static extern void GrannyFreeMeshBinding(TPtr <granny_mesh_binding> binding);
Beispiel #8
0
 public static extern TPtr <granny_mesh_binding> GrannyNewMeshBinding(
     TPtr <granny_mesh> Mesh,
     TPtr <granny_skeleton> FromSkeleton,
     TPtr <granny_skeleton> ToSkeleton);
Beispiel #9
0
 public static extern TPtr <granny_texture> GrannyGetMaterialTextureByType(
     TPtr <granny_material> material,
     granny_material_texture_type channel);
Beispiel #10
0
 public static extern void GrannyFreeControlOnceUnused(TPtr <granny_control> Control);
Beispiel #11
0
 public static extern TPtr <granny_control> GrannyPlayControlledAnimation(
     float StartTime,
     TPtr <granny_animation> Animation,
     TPtr <granny_model_instance> Model);
Beispiel #12
0
 public static extern TPtr <granny_matrix_4x4> GrannyGetWorldPoseComposite4x4Array(TPtr <granny_world_pose> WorldPose);
Beispiel #13
0
 public static extern void GrannyFreeControl(TPtr <granny_control> Control);
Beispiel #14
0
 public static extern IntPtr /* void** */ GrannyGetControlUserDataArray(TPtr <granny_control> Control);
Beispiel #15
0
 public static extern void GrannyFreeWorldPose(TPtr <granny_world_pose> WorldPose);
Beispiel #16
0
 public static extern void GrannyCompleteControlAt(TPtr <granny_control> Control, float AtSeconds);
Beispiel #17
0
 public static extern float GrannyEaseControlOut(TPtr <granny_control> Control, float Duration);
Beispiel #18
0
 public static extern TPtr <granny_control> GrannyGetControlFromBinding(TPtr <granny_model_control_binding> Binding);
Beispiel #19
0
 public static extern TPtr <granny_mesh_deformer> GrannyNewMeshDeformer(
     TPtr <granny_data_type_definition> InputVertexLayout,
     TPtr <granny_data_type_definition> OutputVertexLayout,
     granny_deformation_type DeformationType,
     granny_deformer_tail_flags TailFlag);
Beispiel #20
0
 public static extern TPtr <granny_tri_material_group> GrannyGetMeshTriangleGroups(TPtr <granny_mesh> mesh);
Beispiel #21
0
 public static extern void GrannyFreeMeshDeformer(TPtr <granny_mesh_deformer> Deformer);
Beispiel #22
0
 public static extern int GrannyGetMeshIndexCount(TPtr <granny_mesh> Mesh);
Beispiel #23
0
 public static extern void GrannyConvertSingleObject(
     TPtr <granny_data_type_definition> SourceType,
     IntPtr SourceObject,
     TPtr <granny_data_type_definition> DestType,
     IntPtr DestObject);
Beispiel #24
0
 public static extern void GrannyFreeCompletedModelControls(TPtr <granny_model_instance> ModelInstance);
Beispiel #25
0
 public static extern TPtr <granny_matrix_4x4> GrannyGetWorldPose4x4(TPtr <granny_world_pose> WorldPose, int BoneIndex);
Beispiel #26
0
 public static extern void GrannySetControlLoopCount(TPtr <granny_control> Control, int LoopCount);
Beispiel #27
0
 public static extern bool GrannyMeshIsRigid(TPtr <granny_mesh> Mesh);
Beispiel #28
0
 public static extern void GrannyFreeLocalPose(TPtr <granny_local_pose> pose);
Beispiel #29
0
 public static extern void GrannyCopyMeshIndices(TPtr <granny_mesh> mesh, int bytesPerIndex, IntPtr dstIndexData);
Beispiel #30
0
 public static extern void GrannySampleModelAnimations(
     TPtr <granny_model_instance> ModelInstance,
     int FirstBone,
     int BoneCount,
     TPtr <granny_local_pose> Result);