Public Member Functions | |
| virtual bool | IsValid () const override |
| Gets the validity of the composite texture. More... | |
| virtual EDatasmithCompMode | GetMode () const override |
| Gets the composition mode like color correction etc. More... | |
| virtual void | SetMode (EDatasmithCompMode InMode) override |
| Sets the composition mode like color correction etc. More... | |
| virtual int32 | GetParamSurfacesCount () const override |
| Get the number of surfaces. More... | |
| virtual bool | GetUseTexture (int32 InIndex) override |
| Gets texture usage. More... | |
| virtual const TCHAR * | GetParamTexture (int32 InIndex) override |
| Get the filename of the i-th texture. More... | |
| virtual void | SetParamTexture (int32 InIndex, const TCHAR *InTexture) override |
| Sets the new texture for the index-th item. More... | |
| virtual FDatasmithTextureSampler & | GetParamTextureSampler (int32 InIndex) override |
| Get the i-th uv element. More... | |
| virtual bool | GetUseColor (int32 InIndex) override |
| Gets color usage. More... | |
| virtual const FLinearColor & | GetParamColor (int32 InIndex) override |
| Get the i-th color in linear space. More... | |
| virtual bool | GetUseComposite (int32 InIndex) override |
| Returns true if composite texture should be used. More... | |
| virtual int32 | GetParamVal1Count () const override |
| Get the number of value1 parameters. More... | |
| virtual ParamVal | GetParamVal1 (int32 InIndex) const override |
| Get the i-th Value1 parameter. More... | |
| virtual void | AddParamVal1 (ParamVal InParamVal) override |
| Add a new Value1 parameter. More... | |
| virtual int32 | GetParamVal2Count () const override |
| Get the number of value2 parameters. More... | |
| virtual ParamVal | GetParamVal2 (int32 InIndex) const override |
| Get the Value2 parameter. More... | |
| virtual void | AddParamVal2 (ParamVal InParamVal) override |
| Add a new Value2 parameter. More... | |
| virtual int32 | GetParamMaskSurfacesCount () const override |
| Get the amount of layer masks. More... | |
| virtual const TCHAR * | GetParamMask (int32 InIndex) override |
| Get the i-th layer mask's filename. More... | |
| virtual const FLinearColor & | GetParamMaskColor (int32 i) const override |
| Get the i-th color in linear space. More... | |
| virtual bool | GetMaskUseComposite (int32 InIndex) const override |
| Returns true if composite texture mask should be used. More... | |
| virtual void | AddMaskSurface (const TCHAR *InMask, const FDatasmithTextureSampler InMaskSampler) override |
| Adds a new layer mask from its filename. More... | |
| virtual void | AddMaskSurface (const FLinearColor &InColor) override |
| Creates a new surface to be used as mask that will be used as layer inside this composite using a color in linear space. More... | |
| virtual FDatasmithTextureSampler | GetParamMaskTextureSampler (int32 InIndex) override |
| Get the ith layer mask's uv element. More... | |
| virtual TSharedPtr< IDatasmithCompositeTexture > & | GetParamSubComposite (int32 InIndex) override |
| Get the i-th nested composite texture. More... | |
| virtual void | AddSurface (const TSharedPtr< IDatasmithCompositeTexture > &SubComp) override |
| Adds a new nested composite texture. More... | |
| virtual TSharedPtr< IDatasmithCompositeTexture > & | GetParamMaskSubComposite (int32 InIndex) override |
| Get the ith composite texture inside this composite used as layer mask. More... | |
| virtual void | AddMaskSurface (const TSharedPtr< IDatasmithCompositeTexture > &InMaskSubComp) override |
| Adds a new composite texture inside this composite used as layer mask. More... | |
| virtual const TCHAR * | GetBaseTextureName () const override |
| Returns the string that identifies the texture element. More... | |
| virtual const TCHAR * | GetBaseColName () const override |
| Returns the string that identifies the color element. More... | |
| virtual const TCHAR * | GetBaseValName () const override |
| Returns the string that identifies the value element. More... | |
| virtual const TCHAR * | GetBaseCompName () const override |
| Returns the string that identifies the composite element. More... | |
| virtual void | SetBaseNames (const TCHAR *InTextureName, const TCHAR *InColorName, const TCHAR *InValueName, const TCHAR *InCompName) override |
| Sets the strings that identifies the different elements on this composite. More... | |
| virtual void | AddSurface (const TCHAR *InTexture, FDatasmithTextureSampler InTexUV) override |
| Creates a new surface that will be used as layer inside this composite using the texture filename and its uv element. More... | |
| virtual void | AddSurface (const FLinearColor &InColor) override |
| Creates a new surface that will be used as layer inside this composite using a color in linear space. More... | |
| virtual void | ClearSurface () override |
| Purges all the surfaces that could be used as layers inside this composite. More... | |
Additional Inherited Members | |
Public Types inherited from IDatasmithCompositeTexture | |
| typedef TPair< float, const TCHAR * > | ParamVal |
|
inlineoverridevirtual |
Creates a new surface to be used as mask that will be used as layer inside this composite using a color in linear space.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Adds a new layer mask from its filename.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Adds a new composite texture inside this composite used as layer mask.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Add a new Value1 parameter.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Add a new Value2 parameter.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Creates a new surface that will be used as layer inside this composite using a color in linear space.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Creates a new surface that will be used as layer inside this composite using the texture filename and its uv element.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Adds a new nested composite texture.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Purges all the surfaces that could be used as layers inside this composite.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Returns the string that identifies the color element.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Returns the string that identifies the composite element.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Returns the string that identifies the texture element.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Returns the string that identifies the value element.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Returns true if composite texture mask should be used.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Gets the composition mode like color correction etc.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the i-th color in linear space.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the i-th layer mask's filename.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the i-th color in linear space.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the ith composite texture inside this composite used as layer mask.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Get the amount of layer masks.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the ith layer mask's uv element.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the i-th nested composite texture.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Get the number of surfaces.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the filename of the i-th texture.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the i-th uv element.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the i-th Value1 parameter.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Get the number of value1 parameters.
Some composites will use no values, other types could use only one value, and others could use two values.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Get the Value2 parameter.
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Get the number of value2 parameters.
Some composites will use no values, other types could use only one value, and others could use two values.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Gets color usage.
If true color is used, else a value is used.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Returns true if composite texture should be used.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Gets texture usage.
If it returns false you should use a value or a color checking GetUseColor(i).
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Gets the validity of the composite texture.
If it returns false probably you should use the regular texture or color.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Sets the strings that identifies the different elements on this composite.
| InTextureName | for plain textures |
| InColorName | for color elements |
| InValueName | for regular float values |
| InCompName | for nested composite elements inside this composite |
Implements IDatasmithCompositeTexture.
|
inlineoverridevirtual |
Sets the composition mode like color correction etc.
Implements IDatasmithCompositeTexture.
|
overridevirtual |
Sets the new texture for the index-th item.
Implements IDatasmithCompositeTexture.