feat: working parameter creation
This commit is contained in:
18
src/Engine/Parameter/Parameter.h
Normal file
18
src/Engine/Parameter/Parameter.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include "Engine/Parameter/Template.h"
|
||||
#include "Engine/Types.h"
|
||||
|
||||
namespace enzo::prm
|
||||
{
|
||||
class Parameter
|
||||
{
|
||||
public:
|
||||
Parameter(Template prmTemplate);
|
||||
inline bt::floatT evalFloat() const {return floatValue_;}
|
||||
inline void setFloat(bt::floatT value) {floatValue_ = value;}
|
||||
private:
|
||||
Template template_;
|
||||
bt::floatT floatValue_ = 0;
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user