12 #include "ai_node_entry.h"
13 #include "ai_params.h"
18 struct AtMetaDataStore;
20 struct AtUserParamEntry;
21 struct AtUserParamIterator;
60 #define node_parameters \
61 static void Parameters(AtList* params, AtMetaDataStore* mds)
64 #define node_initialize \
65 static void Initialize(AtNode* node, AtParamValue* params)
69 static void Update(AtNode* node, AtParamValue* params)
73 static void Finish(AtNode* node)
77 AI_EXPORT_LIB bool NodeLoader(int i, AtNodeLib* node)
81 #define AI_INSTANCE_COMMON_METHODS \
86 static AtCommonMethods ai_common_mtds = { \
131 AI_API
void AiNodeSetByte (
AtNode* node,
const char* param,
AtByte val);
133 AI_API
void AiNodeSetUInt (
AtNode* node,
const char* param,
unsigned int val);
134 AI_API
void AiNodeSetBool (
AtNode* node,
const char* param,
bool val);
135 AI_API
void AiNodeSetFlt (
AtNode* node,
const char* param,
float val);
136 AI_API
void AiNodeSetRGB (
AtNode* node,
const char* param,
float r,
float g,
float b);
137 AI_API
void AiNodeSetRGBA (
AtNode* node,
const char* param,
float r,
float g,
float b,
float a);
138 AI_API
void AiNodeSetVec (
AtNode* node,
const char* param,
float x,
float y,
float z);
139 AI_API
void AiNodeSetPnt (
AtNode* node,
const char* param,
float x,
float y,
float z);
140 AI_API
void AiNodeSetPnt2 (
AtNode* node,
const char* param,
float x,
float y);
141 AI_API
void AiNodeSetStr (
AtNode* node,
const char* param,
const char* str);
142 AI_API
void AiNodeSetPtr (
AtNode* node,
const char* param,
void* ptr);
144 AI_API
void AiNodeSetMatrix(
AtNode* node,
const char* param,
AtMatrix matrix);
152 AI_API
AtByte AiNodeGetByte (
const AtNode* node,
const char* param);
154 AI_API
unsigned int AiNodeGetUInt (
const AtNode* node,
const char* param);
155 AI_API
bool AiNodeGetBool (
const AtNode* node,
const char* param);
156 AI_API
float AiNodeGetFlt (
const AtNode* node,
const char* param);
157 AI_API
AtRGB AiNodeGetRGB (
const AtNode* node,
const char* param);
158 AI_API
AtRGBA AiNodeGetRGBA (
const AtNode* node,
const char* param);
159 AI_API
AtVector AiNodeGetVec (
const AtNode* node,
const char* param);
160 AI_API
AtPoint AiNodeGetPnt (
const AtNode* node,
const char* param);
161 AI_API
AtPoint2 AiNodeGetPnt2 (
const AtNode* node,
const char* param);
162 AI_API
const char* AiNodeGetStr (
const AtNode* node,
const char* param);
163 AI_API
void* AiNodeGetPtr (
const AtNode* node,
const char* param);
164 AI_API
AtArray* AiNodeGetArray (
const AtNode* node,
const char* param);
165 AI_API
void AiNodeGetMatrix(
const AtNode* node,
const char* param,
AtMatrix matrix);