Web Analytics Made Easy - Statcounter
Skip to content

Class SBDDataGraphNodeMaterial#

ClassList > SBDDataGraphNodeMaterial

This class describes a material. More...

  • #include <SBDDataGraphNodeMaterial.hpp>

Inherits the following classes: SBCReferenceTarget

Public Functions#

Type Name
SBDDataGraphNodeMaterial ()
Constructs a material.
SB_DECLARE_DATA (SBDDataGraphNodeMaterial)
float getAnisotropicCoefficient () const
Returns the anisotropic coefficient.
float getAnisotropicRotation () const
Returns the anisotropic rotation.
float getClearcoatCoefficient () const
Returns the clearcoat coefficient.
float getClearcoatRoughness () const
Returns the clearcoat roughness.
SBDDataGraphNodeColorScheme * getColorScheme () const
Returns the color scheme.
SBColor const & getEmissionColor () const
Returns the emission color.
float getEmissionStrength () const
Returns the emission strength.
const SBDDataGraphNodeMaterialAppearance & getMaterialAppearance () const
Returns the material appearance.
float getMetallicCoefficient () const
Returns the metallic coefficient.
SBDDataGraphNode * getNode () const
Returns the node that owns the material.
float getRoughnessCoefficient () const
Returns the roughness coefficient.
float getSheenCoefficient () const
Returns the sheen coefficient.
float getSheenTint () const
Returns the sheen tint.
float getSpecularCoefficient () const
Returns the specular coefficient.
float getSpecularTint () const
Returns the specular tint.
float getSubsurfaceAnisotropy () const
Returns the subsurface anisotropy.
float getSubsurfaceCoefficient () const
Returns the subsurface coefficient.
SBColor const & getSubsurfaceColor () const
Returns the subsurface color.
float getSubsurfaceIOR () const
Returns the subsurface index of refraction.
SBVector3 const & getSubsurfaceRadius () const
Returns the subsurface radius.
float getTransmissionCoefficient () const
Returns the transmission coefficient.
float getTransmissionIOR () const
Returns the transmission index of refraction.
float getTransmissionRoughness () const
Returns the transmission roughness.
float getTransparency () const
Returns the transparency.
virtual bool isSerializable () const
Returns true.
virtual void serialize (SBCSerializer * serializer, const SBNodeIndexer & nodeIndexer, const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER, const SBVersionNumber & classVersionNumber=SBVersionNumber(1, 0, 0)) const
Serializes the document.
void setAnisotropicCoefficient (float anisotropicCoefficient)
Sets the anisotropic coefficient.
void setAnisotropicRotation (float anisotropicRotation)
Sets the anisotropic rotation.
void setClearcoatCoefficient (float clearcoatCoefficient)
Sets the clearcoat coefficient.
void setClearcoatRoughness (float clearcoatRoughness)
Sets the clearcoat roughness.
bool setColorScheme (SBDDataGraphNodeColorScheme * colorScheme)
Sets the color scheme. The material takes ownership of the color scheme.
void setEmissionColor (const SBColor & emissionColor)
Sets the emission color.
void setEmissionStrength (float emissionStrength)
Sets the emission strength.
void setMaterialAppearance (const SBDDataGraphNodeMaterialAppearance & materialAppearance)
Sets the material appearance parameters for this material based on materialAppearance .
void setMetallicCoefficient (float metallicCoefficient)
Sets the metallic coefficient.
void setRoughnessCoefficient (float roughnessCoefficient)
Sets the roughness coefficient.
void setSheenCoefficient (float sheenCoefficient)
Sets the sheen coefficient.
void setSheenTint (float sheenTint)
Sets the sheen tint.
void setSpecularCoefficient (float specular)
Sets the specular coefficient.
void setSpecularTint (float specularTint)
Sets the specular tint.
void setSubsurfaceAnisotropy (float subsurfaceAnisotropy)
Sets the subsurface anisotropy.
void setSubsurfaceCoefficient (float subsurfaceCoefficient)
Sets the subsurface coefficient.
void setSubsurfaceColor (const SBColor & subsurfaceColor)
Sets the subsurface color.
void setSubsurfaceIOR (float subsurfaceIOR)
Sets the subsurface index of refraction.
void setSubsurfaceRadius (const SBVector3 & subsurfaceRadius)
Sets the subsurface radius.
void setTransmissionCoefficient (float transmissionCoefficient)
Sets the transmission coefficient.
void setTransmissionIOR (float ior)
Sets the transmission index of refraction.
void setTransmissionRoughness (float transmissionRoughness)
Sets the transmission roughness.
void setTransparency (float transparency)
Sets the transparency.
virtual void unserialize (SBCSerializer * serializer, const SBNodeIndexer & nodeIndexer, const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER, const SBVersionNumber & classVersionNumber=SBVersionNumber(1, 0, 0))
Unserializes the document.
virtual ~SBDDataGraphNodeMaterial ()
Destructs the material.

Public Functions inherited from SBCReferenceTarget#

See SBCReferenceTarget

Type Name
SBCReferenceTarget ()
unsigned int getMemoryFootprint () const
void printReferencesToOwners () const
virtual ~SBCReferenceTarget ()

Protected Attributes inherited from SBCReferenceTarget#

See SBCReferenceTarget

Type Name
SBCReferenceTargetData * dataPointer

Protected Functions#

Type Name
SBDDataGraphNodeMaterial (SBDDataGraphNodeMaterialData * dataPointer)

Protected Functions inherited from SBCReferenceTarget#

See SBCReferenceTarget

Type Name
SBCReferenceTarget (SBCReferenceTargetData * dataPointer)
void removeAllReferenceOwners ()

Detailed Description#

This class describes a material in SAMSON. Please refer to Materials for more information.

Short name: SBNodeMaterial

See also: Materials

Public Functions Documentation#

function SBDDataGraphNodeMaterial [1/2]#

Constructs a material.

SBDDataGraphNodeMaterial::SBDDataGraphNodeMaterial () 


function SB_DECLARE_DATA#

SBDDataGraphNodeMaterial::SB_DECLARE_DATA (
    SBDDataGraphNodeMaterial
) 

function getAnisotropicCoefficient#

Returns the anisotropic coefficient.

float SBDDataGraphNodeMaterial::getAnisotropicCoefficient () const


function getAnisotropicRotation#

Returns the anisotropic rotation.

float SBDDataGraphNodeMaterial::getAnisotropicRotation () const


function getClearcoatCoefficient#

Returns the clearcoat coefficient.

float SBDDataGraphNodeMaterial::getClearcoatCoefficient () const


function getClearcoatRoughness#

Returns the clearcoat roughness.

float SBDDataGraphNodeMaterial::getClearcoatRoughness () const


function getColorScheme#

Returns the color scheme.

SBDDataGraphNodeColorScheme * SBDDataGraphNodeMaterial::getColorScheme () const


function getEmissionColor#

Returns the emission color.

SBColor const & SBDDataGraphNodeMaterial::getEmissionColor () const


function getEmissionStrength#

Returns the emission strength.

float SBDDataGraphNodeMaterial::getEmissionStrength () const


function getMaterialAppearance#

Returns the material appearance.

const SBDDataGraphNodeMaterialAppearance & SBDDataGraphNodeMaterial::getMaterialAppearance () const


function getMetallicCoefficient#

Returns the metallic coefficient.

float SBDDataGraphNodeMaterial::getMetallicCoefficient () const


function getNode#

Returns the node that owns the material.

SBDDataGraphNode * SBDDataGraphNodeMaterial::getNode () const


function getRoughnessCoefficient#

Returns the roughness coefficient.

float SBDDataGraphNodeMaterial::getRoughnessCoefficient () const


function getSheenCoefficient#

Returns the sheen coefficient.

float SBDDataGraphNodeMaterial::getSheenCoefficient () const


function getSheenTint#

Returns the sheen tint.

float SBDDataGraphNodeMaterial::getSheenTint () const


function getSpecularCoefficient#

Returns the specular coefficient.

float SBDDataGraphNodeMaterial::getSpecularCoefficient () const


function getSpecularTint#

Returns the specular tint.

float SBDDataGraphNodeMaterial::getSpecularTint () const


function getSubsurfaceAnisotropy#

Returns the subsurface anisotropy.

float SBDDataGraphNodeMaterial::getSubsurfaceAnisotropy () const


function getSubsurfaceCoefficient#

Returns the subsurface coefficient.

float SBDDataGraphNodeMaterial::getSubsurfaceCoefficient () const


function getSubsurfaceColor#

Returns the subsurface color.

SBColor const & SBDDataGraphNodeMaterial::getSubsurfaceColor () const


function getSubsurfaceIOR#

Returns the subsurface index of refraction.

float SBDDataGraphNodeMaterial::getSubsurfaceIOR () const


function getSubsurfaceRadius#

Returns the subsurface radius.

SBVector3 const & SBDDataGraphNodeMaterial::getSubsurfaceRadius () const


function getTransmissionCoefficient#

Returns the transmission coefficient.

float SBDDataGraphNodeMaterial::getTransmissionCoefficient () const


function getTransmissionIOR#

Returns the transmission index of refraction.

float SBDDataGraphNodeMaterial::getTransmissionIOR () const


function getTransmissionRoughness#

Returns the transmission roughness.

float SBDDataGraphNodeMaterial::getTransmissionRoughness () const


function getTransparency#

Returns the transparency.

float SBDDataGraphNodeMaterial::getTransparency () const


function isSerializable#

Returns true.

virtual bool SBDDataGraphNodeMaterial::isSerializable () const


function serialize#

Serializes the document.

virtual void SBDDataGraphNodeMaterial::serialize (
    SBCSerializer * serializer,
    const SBNodeIndexer & nodeIndexer,
    const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER,
    const SBVersionNumber & classVersionNumber=SBVersionNumber (1, 0, 0)
) const


function setAnisotropicCoefficient#

Sets the anisotropic coefficient.

void SBDDataGraphNodeMaterial::setAnisotropicCoefficient (
    float anisotropicCoefficient
) 


function setAnisotropicRotation#

Sets the anisotropic rotation.

void SBDDataGraphNodeMaterial::setAnisotropicRotation (
    float anisotropicRotation
) 


function setClearcoatCoefficient#

Sets the clearcoat coefficient.

void SBDDataGraphNodeMaterial::setClearcoatCoefficient (
    float clearcoatCoefficient
) 


function setClearcoatRoughness#

Sets the clearcoat roughness.

void SBDDataGraphNodeMaterial::setClearcoatRoughness (
    float clearcoatRoughness
) 


function setColorScheme#

Sets the color scheme. The material takes ownership of the color scheme.

bool SBDDataGraphNodeMaterial::setColorScheme (
    SBDDataGraphNodeColorScheme * colorScheme
) 


function setEmissionColor#

Sets the emission color.

void SBDDataGraphNodeMaterial::setEmissionColor (
    const SBColor & emissionColor
) 


function setEmissionStrength#

Sets the emission strength.

void SBDDataGraphNodeMaterial::setEmissionStrength (
    float emissionStrength
) 


function setMaterialAppearance#

Sets the material appearance parameters for this material based on materialAppearance .

void SBDDataGraphNodeMaterial::setMaterialAppearance (
    const SBDDataGraphNodeMaterialAppearance & materialAppearance
) 


function setMetallicCoefficient#

Sets the metallic coefficient.

void SBDDataGraphNodeMaterial::setMetallicCoefficient (
    float metallicCoefficient
) 


function setRoughnessCoefficient#

Sets the roughness coefficient.

void SBDDataGraphNodeMaterial::setRoughnessCoefficient (
    float roughnessCoefficient
) 


function setSheenCoefficient#

Sets the sheen coefficient.

void SBDDataGraphNodeMaterial::setSheenCoefficient (
    float sheenCoefficient
) 


function setSheenTint#

Sets the sheen tint.

void SBDDataGraphNodeMaterial::setSheenTint (
    float sheenTint
) 


function setSpecularCoefficient#

Sets the specular coefficient.

void SBDDataGraphNodeMaterial::setSpecularCoefficient (
    float specular
) 


function setSpecularTint#

Sets the specular tint.

void SBDDataGraphNodeMaterial::setSpecularTint (
    float specularTint
) 


function setSubsurfaceAnisotropy#

Sets the subsurface anisotropy.

void SBDDataGraphNodeMaterial::setSubsurfaceAnisotropy (
    float subsurfaceAnisotropy
) 


function setSubsurfaceCoefficient#

Sets the subsurface coefficient.

void SBDDataGraphNodeMaterial::setSubsurfaceCoefficient (
    float subsurfaceCoefficient
) 


function setSubsurfaceColor#

Sets the subsurface color.

void SBDDataGraphNodeMaterial::setSubsurfaceColor (
    const SBColor & subsurfaceColor
) 


function setSubsurfaceIOR#

Sets the subsurface index of refraction.

void SBDDataGraphNodeMaterial::setSubsurfaceIOR (
    float subsurfaceIOR
) 


function setSubsurfaceRadius#

Sets the subsurface radius.

void SBDDataGraphNodeMaterial::setSubsurfaceRadius (
    const SBVector3 & subsurfaceRadius
) 


function setTransmissionCoefficient#

Sets the transmission coefficient.

void SBDDataGraphNodeMaterial::setTransmissionCoefficient (
    float transmissionCoefficient
) 


function setTransmissionIOR#

Sets the transmission index of refraction.

void SBDDataGraphNodeMaterial::setTransmissionIOR (
    float ior
) 


function setTransmissionRoughness#

Sets the transmission roughness.

void SBDDataGraphNodeMaterial::setTransmissionRoughness (
    float transmissionRoughness
) 


function setTransparency#

Sets the transparency.

void SBDDataGraphNodeMaterial::setTransparency (
    float transparency
) 


function unserialize#

Unserializes the document.

virtual void SBDDataGraphNodeMaterial::unserialize (
    SBCSerializer * serializer,
    const SBNodeIndexer & nodeIndexer,
    const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER,
    const SBVersionNumber & classVersionNumber=SBVersionNumber (1, 0, 0)
) 


function ~SBDDataGraphNodeMaterial#

Destructs the material.

virtual SBDDataGraphNodeMaterial::~SBDDataGraphNodeMaterial () 


Protected Functions Documentation#

function SBDDataGraphNodeMaterial [2/2]#

SBDDataGraphNodeMaterial::SBDDataGraphNodeMaterial (
    SBDDataGraphNodeMaterialData * dataPointer
)