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

Method GetMesh

Source/Engine/Physics/Actors/Cloth.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37ModelInstanceActor::MeshReference Cloth::GetMesh() const
38{
39 auto value = _mesh;
40 value.Actor = Cast<ModelInstanceActor>(GetParent()); // Force to use cloth's parent only
41 return value;
42}
43
44void Cloth::SetMesh(const ModelInstanceActor::MeshReference& value)
45{

Callers

nothing calls this directly

Calls 1

GetParentFunction · 0.50

Tested by

no test coverage detected