13enum class VoxelSculptMode : uint8_t
28struct VoxelSculptOptions
30 VoxelSculptMode mMode = VoxelSculptMode::Add;
31 int32_t mBrushRadius = 1;
32 uint8_t mMaterialId = 1;
35class VoxelSculptManager
39 ~VoxelSculptManager();
42 void HandleNodeDestroy(
Node* node);
44 VoxelSculptOptions mOptions;
47 bool mHoverValid =
false;
48 glm::ivec3 mHoverVoxel = {};
49 glm::ivec3 mHoverPlaceVoxel = {};
56 void ApplyBrush(
Voxel3D* voxel, glm::ivec3 center);
59 static uint64_t VoxelKey(int32_t x, int32_t y, int32_t z);
62 bool mStrokeActive =
false;
63 Voxel3D* mPendingTarget =
nullptr;
64 std::vector<VoxelChange> mPendingChanges;
65 std::set<uint64_t> mModifiedSet;
bool Update()
Definition Engine.cpp:710