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

Method SetSurfaces

Source/Engine/Level/Actors/BoxBrush.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void BoxBrush::SetSurfaces(const Array<BrushSurface>& value)
51{
52 CHECK(value.Count() == ARRAY_COUNT(Surfaces));
53 Platform::MemoryCopy(Surfaces, value.Get(), sizeof(Surfaces));
54 OnBrushModified();
55}
56
57void BoxBrush::SetMode(BrushMode value)
58{

Callers

nothing calls this directly

Calls 3

OnBrushModifiedFunction · 0.85
CountMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected