forked from bartvdbraak/blender
9cfc7967dd
* Replace license text in headers with SPDX identifiers. * Remove specific license info from outdated readme.txt, instead leave details to the source files. * Add list of SPDX license identifiers used, and corresponding license texts. * Update copyright dates while we're at it. Ref D14069, T95597
26 lines
431 B
C++
26 lines
431 B
C++
/* SPDX-License-Identifier: Apache-2.0
|
|
* Copyright 2020-2022 Blender Foundation */
|
|
|
|
#pragma once
|
|
|
|
#include "graph/node.h"
|
|
|
|
#include "scene/mesh.h"
|
|
|
|
CCL_NAMESPACE_BEGIN
|
|
|
|
class Volume : public Mesh {
|
|
public:
|
|
NODE_DECLARE
|
|
|
|
Volume();
|
|
|
|
NODE_SOCKET_API(float, clipping)
|
|
NODE_SOCKET_API(float, step_size)
|
|
NODE_SOCKET_API(bool, object_space)
|
|
|
|
virtual void clear(bool preserve_shaders = false) override;
|
|
};
|
|
|
|
CCL_NAMESPACE_END
|