![]()  | 
						
							 Simplygon C++ API
								 8.3.35800.0
							 
						 | 
					
#include <SimplygonSDK.h>
  
Public Member Functions | |
| virtual const char * | GetClass () | 
| 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 bool | IsA (const char *type) const | 
| virtual void | SetDefaultParameter (rid parameter_id, real r, real g, real b, real a)=0 | 
  Public Member Functions inherited from SimplygonSDK::IObject | |
| 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 IShadingNode * | SafeCast (IObject *ptr) | 
  Static Public Member Functions inherited from SimplygonSDK::IObject | |
| static bool | IsClassA (const char *type) | 
| static IObject * | SafeCast (IObject *ptr) | 
IShadingNode is the parent of all nodes in a shading network.
Definition at line 15942 of file SimplygonSDK.h.
      
  | 
  virtual | 
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IObject.
Reimplemented in SimplygonSDK::IShadingLessThanNode, SimplygonSDK::IShadingGreaterThanNode, SimplygonSDK::IShadingSinNode, SimplygonSDK::IShadingCosNode, SimplygonSDK::IShadingCross3Node, SimplygonSDK::IShadingDot3Node, SimplygonSDK::IShadingSqrtNode, SimplygonSDK::IShadingNormalize3Node, SimplygonSDK::IShadingLayeredBlendNode, SimplygonSDK::IShadingCustomNode, SimplygonSDK::IShadingInterpolateNode, SimplygonSDK::IShadingVertexColorNode, SimplygonSDK::IShadingNotEqualNode, SimplygonSDK::IShadingEqualNode, SimplygonSDK::IShadingStepNode, SimplygonSDK::IShadingMinNode, SimplygonSDK::IShadingMaxNode, SimplygonSDK::IShadingClampNode, SimplygonSDK::IShadingDivideNode, SimplygonSDK::IShadingPowNode, SimplygonSDK::IShadingMultiplyNode, SimplygonSDK::IShadingSubtractNode, SimplygonSDK::IShadingAddNode, SimplygonSDK::IShadingColorNode, SimplygonSDK::IShadingSwizzlingNode, SimplygonSDK::IShadingTextureNode, and SimplygonSDK::IShadingFilterNode.
Get the default parameter values
| parameter_id | is the id of the input to be fetched. | 
Get the default parameter values
| parameter_id | is the id of the input to be fetched. | 
Get the default parameter values
| parameter_id | is the id of the input to be fetched. | 
Get the default parameter values
| parameter_id | is the id of the input to be fetched. | 
      
  | 
  pure virtual | 
Get the input count
Get the name of a parameter
| parameter_id | is the id of the input to fetch the name of. | 
      
  | 
  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::IObject.
Reimplemented in SimplygonSDK::IShadingLessThanNode, SimplygonSDK::IShadingGreaterThanNode, SimplygonSDK::IShadingSinNode, SimplygonSDK::IShadingCosNode, SimplygonSDK::IShadingCross3Node, SimplygonSDK::IShadingDot3Node, SimplygonSDK::IShadingSqrtNode, SimplygonSDK::IShadingNormalize3Node, SimplygonSDK::IShadingLayeredBlendNode, SimplygonSDK::IShadingCustomNode, SimplygonSDK::IShadingInterpolateNode, SimplygonSDK::IShadingVertexColorNode, SimplygonSDK::IShadingNotEqualNode, SimplygonSDK::IShadingEqualNode, SimplygonSDK::IShadingStepNode, SimplygonSDK::IShadingMinNode, SimplygonSDK::IShadingMaxNode, SimplygonSDK::IShadingClampNode, SimplygonSDK::IShadingDivideNode, SimplygonSDK::IShadingPowNode, SimplygonSDK::IShadingMultiplyNode, SimplygonSDK::IShadingSubtractNode, SimplygonSDK::IShadingAddNode, SimplygonSDK::IShadingColorNode, SimplygonSDK::IShadingSwizzlingNode, SimplygonSDK::IShadingTextureNode, and SimplygonSDK::IShadingFilterNode.
      
  | 
  inlinestatic | 
The IsClassA function returns true if IShadingNode 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 15963 of file SimplygonSDK.h.
      
  | 
  inlinestatic | 
SafeCast makes sure the pointer is of a class that can be cast into a IShadingNode pointer, and if this is possible, returns the cast pointer.
| ptr | is the pointer to be cast into a IShadingNode pointer | 
Definition at line 15976 of file SimplygonSDK.h.
      
  | 
  pure virtual | 
Set the default parameter values
| parameter_id | is the id of the input to be set. | 
| r | is the value of red to which the default input will be set. | 
| g | is the value of green to which the default input will be set. | 
| b | is the value of blue to which the default input will be set. | 
| a | is the value of alpha to which the default input will be set. |