![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual const char * | GetClass () |
virtual unsigned int | GetInputCount ()=0 |
virtual int | GetPerInputBlendType (int _input)=0 |
virtual bool | IsA (const char *type) const |
virtual void | SetInputCount (unsigned int value)=0 |
virtual void | SetPerInputBlendType (int _input, int _blendType)=0 |
![]() | |
virtual CountedPointer< IShadingNode > | GetInput (rid input_id)=0 |
virtual bool | GetParameterIsInputable (rid param_id)=0 |
virtual bool | SetInput (rid input_id, IShadingNode *input_node)=0 |
![]() | |
virtual real | GetDefaultParameterAlpha (rid parameter_id)=0 |
virtual real | GetDefaultParameterBlue (rid parameter_id)=0 |
virtual real | GetDefaultParameterGreen (rid parameter_id)=0 |
virtual real | GetDefaultParameterRed (rid parameter_id)=0 |
virtual unsigned int | GetParameterCount ()=0 |
virtual rstring | GetParameterName (rid parameter_id)=0 |
virtual void | SetDefaultParameter (rid parameter_id, real r, real g, real b, real a)=0 |
![]() | |
virtual rid | AddObserver (robserver *Observer, rid EventId)=0 |
virtual void | AddRef ()=0 |
virtual rstring | GetName ()=0 |
virtual void * | GetUserComponentArea (rid userid)=0 |
virtual void | PrintInfo ()=0 |
virtual void | Release ()=0 |
virtual void | RemoveObserver (rid ObserverId)=0 |
virtual void | SetName (const char *Name)=0 |
Static Public Member Functions | |
static bool | IsClassA (const char *type) |
static IShadingLayeredBlendNode * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IShadingFilterNode * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IShadingNode * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
ILayeredBlendNode is a node with an arbitrary number of inputs that can be blended differently.
Definition at line 17316 of file SimplygonSDK.h.
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IShadingFilterNode.
|
pure virtual |
Gets the number of inputs for this node
|
pure virtual |
Get the blend type per input connection
_input | the input index |
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the object is, or is a descendant of |
Reimplemented from SimplygonSDK::IShadingFilterNode.
|
inlinestatic |
The IsClassA function returns true if IShadingLayeredBlendNode is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the class is, or is a descendant of |
Definition at line 17337 of file SimplygonSDK.h.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IShadingLayeredBlendNode pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IShadingLayeredBlendNode pointer |
Definition at line 17350 of file SimplygonSDK.h.
|
pure virtual |
Sets the number of inputs for this node
value | the number of inputs for this node Value cannot be less than 0. Value cannot be greater than SG_NUM_SUPPORTED_CUSTOM_NODE_INPUTS. |
|
pure virtual |
Set the blend type per input connection
_input | the input index |
_blendType | the blend type to use |