MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Load

Method Load

Source/Engine/Content/Assets/SkinnedModel.cpp:416–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416void BlendShape::Load(ReadStream& stream, byte meshVersion)
417{
418 PROFILE_MEM(GraphicsMeshes);
419 UseNormals = stream.ReadBool();
420 stream.ReadUint32(&MinVertexIndex);
421 stream.ReadUint32(&MaxVertexIndex);
422 uint32 blendShapeVertices;
423 stream.ReadUint32(&blendShapeVertices);
424 Vertices.Resize(blendShapeVertices);
425 stream.ReadBytes(Vertices.Get(), Vertices.Count() * sizeof(BlendShapeVertex));
426}
427
428#if USE_EDITOR
429

Callers 15

loadMethod · 0.45
loadMethod · 0.45
SaveMethod · 0.45
LoadMeshMethod · 0.45
loadMethod · 0.45
LoadSurfaceMethod · 0.45
loadMethod · 0.45
InitAsAnimationMethod · 0.45
SaveSurfaceMethod · 0.45
loadMethod · 0.45
GetReferencesMethod · 0.45
loadMethod · 0.45

Calls 4

ResizeMethod · 0.45
ReadBytesMethod · 0.45
GetMethod · 0.45
CountMethod · 0.45

Tested by

no test coverage detected