2023-06-14 08:52:36 +02:00
|
|
|
/* SPDX-FileCopyrightText: 2020-2022 Blender Foundation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0 */
|
2020-08-19 15:46:50 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "graph/node.h"
|
|
|
|
|
2021-10-24 14:19:19 +02:00
|
|
|
#include "scene/mesh.h"
|
2020-08-19 15:46:50 +02:00
|
|
|
|
|
|
|
CCL_NAMESPACE_BEGIN
|
|
|
|
|
|
|
|
class Volume : public Mesh {
|
|
|
|
public:
|
|
|
|
NODE_DECLARE
|
|
|
|
|
|
|
|
Volume();
|
|
|
|
|
2020-11-04 11:17:38 +01:00
|
|
|
NODE_SOCKET_API(float, clipping)
|
|
|
|
NODE_SOCKET_API(float, step_size)
|
|
|
|
NODE_SOCKET_API(bool, object_space)
|
2022-04-19 16:28:14 +02:00
|
|
|
NODE_SOCKET_API(float, velocity_scale)
|
2020-08-19 15:46:50 +02:00
|
|
|
|
2020-10-31 17:21:07 +01:00
|
|
|
virtual void clear(bool preserve_shaders = false) override;
|
2020-08-19 15:46:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
CCL_NAMESPACE_END
|