52 TextureMesh& operator=(TextureMesh
const&);
53 TextureMesh(TextureMesh
const&);
96 ModelPart& operator=(ModelPart
const&);
97 ModelPart(ModelPart
const&);
103 MCNAPI_C
void _adjustUVsInward(
104 ::std::vector<::Vec2>& uvs,
105 ::std::vector<::std::array<::Geometry::NodeVertex, 3>>
const& tris,
106 ::std::vector<::std::array<::Geometry::NodeVertex, 4>>
const& quads,
110 MCNAPI_C
void _copyBoneMatricesToSkinnedMeshes(
112 ::gsl::span<::BoneOrientation const> boneOrientations,
120 MCNAPI_C ::ModelPart&
123 MCNAPI_C
void assignPartToGroup(
::Model& model,
bool forceToUniqueGroup);
133 MCNAPI_C
void copyBoneMatricesToActor(
135 ::gsl::span<::BoneOrientation const> boneOrientations,
140 MCNAPI_C
void expandAABB(
::AABB& bb)
const;
142 MCNAPI_C
void generateBoneTransformMatrices(
144 ::gsl::span<::BoneOrientation> boneOrientations,
149 MCNAPI_C
void getPolyCounts(
int& triVertexCount,
int& quadVertexCount);
153 MCNAPI_C
bool load(
::GeometryPtr source, ::std::string_view nodeName, ::ModelPart* parentPart);
156 ::std::shared_ptr<::ActorResourceDefinition> resourceDefinition,
158 ::std::string_view nodeName,
159 ::ModelPart* parentPart
162 MCNAPI_C
void loadBoxes(
165 ::std::vector<::Geometry::Box>
const& boxes,
166 ::Vec3 const& bindPoseRotation
172 MCNAPI_C
void loadTextureMeshes(
173 ::std::shared_ptr<::ActorResourceDefinition> resourceDefinition,
176 ::std::vector<::Geometry::NodeTextureMesh>
const& sourceTextureMeshes
179 MCNAPI_C
bool loadWithOrientation(
180 ::std::shared_ptr<::ActorResourceDefinition> resourceDefinition,
182 ::std::string_view nodeName,
185 ::ModelPart* parentPart
188 MCNAPI_C
bool loadWithOrientation_(
190 ::std::string_view nodeName,
193 ::ModelPart* parentPart
196 MCNAPI_C uint64 numCubes()
const;
198 MCNAPI_C
void render(
202 bool hideParentBodyPart,
207 MCNAPI_C
void renderAtPosition(
212 bool hideParentBodyPart,
219 MCNAPI_C
void translateTo(
::Matrix& mv,
float scale);
225 MCNAPI_C
void* $ctor(::ModelPart&& rhs);
227 MCNAPI_C
void* $ctor(
int xTexOffs,
int yTexOffs,
int texWidth,
int texHeight);
233 MCNAPI_C
void $dtor();
Definition ScreenContext.h:5
Definition TextureOffset.h:5
Definition ModelPart.h:37