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