Exemple #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);
Exemple #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);
Exemple #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);
Exemple #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);
Exemple #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);
Exemple #6
0
 public static extern TPtr <int> GrannyGetMeshBindingToBoneIndices(TPtr <granny_mesh_binding> Binding);
Exemple #7
0
 public static extern void GrannyFreeMeshBinding(TPtr <granny_mesh_binding> binding);
Exemple #8
0
 public static extern TPtr <granny_mesh_binding> GrannyNewMeshBinding(
     TPtr <granny_mesh> Mesh,
     TPtr <granny_skeleton> FromSkeleton,
     TPtr <granny_skeleton> ToSkeleton);
Exemple #9
0
 public static extern TPtr <granny_texture> GrannyGetMaterialTextureByType(
     TPtr <granny_material> material,
     granny_material_texture_type channel);
Exemple #10
0
 public static extern void GrannyFreeControlOnceUnused(TPtr <granny_control> Control);
Exemple #11
0
 public static extern TPtr <granny_control> GrannyPlayControlledAnimation(
     float StartTime,
     TPtr <granny_animation> Animation,
     TPtr <granny_model_instance> Model);
Exemple #12
0
 public static extern TPtr <granny_matrix_4x4> GrannyGetWorldPoseComposite4x4Array(TPtr <granny_world_pose> WorldPose);
Exemple #13
0
 public static extern void GrannyFreeControl(TPtr <granny_control> Control);
Exemple #14
0
 public static extern IntPtr /* void** */ GrannyGetControlUserDataArray(TPtr <granny_control> Control);
Exemple #15
0
 public static extern void GrannyFreeWorldPose(TPtr <granny_world_pose> WorldPose);
Exemple #16
0
 public static extern void GrannyCompleteControlAt(TPtr <granny_control> Control, float AtSeconds);
Exemple #17
0
 public static extern float GrannyEaseControlOut(TPtr <granny_control> Control, float Duration);
Exemple #18
0
 public static extern TPtr <granny_control> GrannyGetControlFromBinding(TPtr <granny_model_control_binding> Binding);
Exemple #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);
Exemple #20
0
 public static extern TPtr <granny_tri_material_group> GrannyGetMeshTriangleGroups(TPtr <granny_mesh> mesh);
Exemple #21
0
 public static extern void GrannyFreeMeshDeformer(TPtr <granny_mesh_deformer> Deformer);
Exemple #22
0
 public static extern int GrannyGetMeshIndexCount(TPtr <granny_mesh> Mesh);
Exemple #23
0
 public static extern void GrannyConvertSingleObject(
     TPtr <granny_data_type_definition> SourceType,
     IntPtr SourceObject,
     TPtr <granny_data_type_definition> DestType,
     IntPtr DestObject);
Exemple #24
0
 public static extern void GrannyFreeCompletedModelControls(TPtr <granny_model_instance> ModelInstance);
Exemple #25
0
 public static extern TPtr <granny_matrix_4x4> GrannyGetWorldPose4x4(TPtr <granny_world_pose> WorldPose, int BoneIndex);
Exemple #26
0
 public static extern void GrannySetControlLoopCount(TPtr <granny_control> Control, int LoopCount);
Exemple #27
0
 public static extern bool GrannyMeshIsRigid(TPtr <granny_mesh> Mesh);
Exemple #28
0
 public static extern void GrannyFreeLocalPose(TPtr <granny_local_pose> pose);
Exemple #29
0
 public static extern void GrannyCopyMeshIndices(TPtr <granny_mesh> mesh, int bytesPerIndex, IntPtr dstIndexData);
Exemple #30
0
 public static extern void GrannySampleModelAnimations(
     TPtr <granny_model_instance> ModelInstance,
     int FirstBone,
     int BoneCount,
     TPtr <granny_local_pose> Result);