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#
Type | Name |
---|---|
SBCReferenceTarget () |
|
unsigned int | getMemoryFootprint () const |
void | printReferencesToOwners () const |
virtual | ~SBCReferenceTarget () |
Protected Attributes inherited from SBCReferenceTarget#
Type | Name |
---|---|
SBCReferenceTargetData * | dataPointer |
Protected Functions#
Type | Name |
---|---|
SBDDataGraphNodeMaterial (SBDDataGraphNodeMaterialData * dataPointer) |
Protected Functions inherited from 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.
function SB_DECLARE_DATA#
function getAnisotropicCoefficient#
Returns the anisotropic coefficient.
function getAnisotropicRotation#
Returns the anisotropic rotation.
function getClearcoatCoefficient#
Returns the clearcoat coefficient.
function getClearcoatRoughness#
Returns the clearcoat roughness.
function getColorScheme#
Returns the color scheme.
function getEmissionColor#
Returns the emission color.
function getEmissionStrength#
Returns the emission strength.
function getMaterialAppearance#
Returns the material appearance.
function getMetallicCoefficient#
Returns the metallic coefficient.
function getNode#
Returns the node that owns the material.
function getRoughnessCoefficient#
Returns the roughness coefficient.
function getSheenCoefficient#
Returns the sheen coefficient.
function getSheenTint#
Returns the sheen tint.
function getSpecularCoefficient#
Returns the specular coefficient.
function getSpecularTint#
Returns the specular tint.
function getSubsurfaceAnisotropy#
Returns the subsurface anisotropy.
function getSubsurfaceCoefficient#
Returns the subsurface coefficient.
function getSubsurfaceColor#
Returns the subsurface color.
function getSubsurfaceIOR#
Returns the subsurface index of refraction.
function getSubsurfaceRadius#
Returns the subsurface radius.
function getTransmissionCoefficient#
Returns the transmission coefficient.
function getTransmissionIOR#
Returns the transmission index of refraction.
function getTransmissionRoughness#
Returns the transmission roughness.
function getTransparency#
Returns the transparency.
function isSerializable#
Returns true.
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.
function setAnisotropicRotation#
Sets the anisotropic rotation.
function setClearcoatCoefficient#
Sets the clearcoat coefficient.
function setClearcoatRoughness#
Sets the clearcoat roughness.
function setColorScheme#
Sets the color scheme. The material takes ownership of the color scheme.
function setEmissionColor#
Sets the emission color.
function setEmissionStrength#
Sets the emission strength.
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.
function setRoughnessCoefficient#
Sets the roughness coefficient.
function setSheenCoefficient#
Sets the sheen coefficient.
function setSheenTint#
Sets the sheen tint.
function setSpecularCoefficient#
Sets the specular coefficient.
function setSpecularTint#
Sets the specular tint.
function setSubsurfaceAnisotropy#
Sets the subsurface anisotropy.
function setSubsurfaceCoefficient#
Sets the subsurface coefficient.
function setSubsurfaceColor#
Sets the subsurface color.
function setSubsurfaceIOR#
Sets the subsurface index of refraction.
function setSubsurfaceRadius#
Sets the subsurface radius.
function setTransmissionCoefficient#
Sets the transmission coefficient.
function setTransmissionIOR#
Sets the transmission index of refraction.
function setTransmissionRoughness#
Sets the transmission roughness.
function setTransparency#
Sets the 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.