Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | Public Attributes | List of all members
castor3d::SubsurfaceScattering Class Reference

#include <SubsurfaceScattering.hpp>

Collaboration diagram for castor3d::SubsurfaceScattering:
Collaboration graph
[legend]

Public Types

using Changed = castor::Function< void( SubsurfaceScattering const & ) >
 
using OnChanged = castor::SignalT< Changed >
 
using OnChangedConnection = OnChanged::connection
 

Public Member Functions

C3D_API SubsurfaceScattering ()
 
C3D_API void accept (ConfigurationVisitorBase &vis)
 
float getGaussianWidth () const noexcept
 
float getStrength () const noexcept
 
float getThicknessScale () const noexcept
 
float getSubsurfaceRadius () const noexcept
 
uint32_t getProfileSize () const noexcept
 
void setGaussianWidth (float value)
 
void setStrength (float value)
 
void setThicknessScale (float value)
 
void setSubsurfaceRadius (float value)
 
void addProfileFactor (castor::Point4f const &value)
 
auto begin () noexcept
 
auto begin () const noexcept
 
auto end () noexcept
 
auto end () const noexcept
 

Public Attributes

OnChanged onChanged
 

Member Typedef Documentation

◆ Changed

◆ OnChanged

◆ OnChangedConnection

Constructor & Destructor Documentation

◆ SubsurfaceScattering()

C3D_API castor3d::SubsurfaceScattering::SubsurfaceScattering ( )

Member Function Documentation

◆ accept()

C3D_API void castor3d::SubsurfaceScattering::accept ( ConfigurationVisitorBase & vis)

◆ addProfileFactor()

void castor3d::SubsurfaceScattering::addProfileFactor ( castor::Point4f const & value)
inline

References onChanged.

◆ begin() [1/2]

auto castor3d::SubsurfaceScattering::begin ( ) const
inlinenoexcept

◆ begin() [2/2]

auto castor3d::SubsurfaceScattering::begin ( )
inlinenoexcept

name Iteration.

◆ end() [1/2]

auto castor3d::SubsurfaceScattering::end ( ) const
inlinenoexcept

◆ end() [2/2]

auto castor3d::SubsurfaceScattering::end ( )
inlinenoexcept

◆ getGaussianWidth()

float castor3d::SubsurfaceScattering::getGaussianWidth ( ) const
inlinenoexcept

name Getters.

◆ getProfileSize()

uint32_t castor3d::SubsurfaceScattering::getProfileSize ( ) const
inlinenoexcept

◆ getStrength()

float castor3d::SubsurfaceScattering::getStrength ( ) const
inlinenoexcept

◆ getSubsurfaceRadius()

float castor3d::SubsurfaceScattering::getSubsurfaceRadius ( ) const
inlinenoexcept

◆ getThicknessScale()

float castor3d::SubsurfaceScattering::getThicknessScale ( ) const
inlinenoexcept

◆ setGaussianWidth()

void castor3d::SubsurfaceScattering::setGaussianWidth ( float value)
inline

name Mutators.

References onChanged.

◆ setStrength()

void castor3d::SubsurfaceScattering::setStrength ( float value)
inline

References onChanged.

◆ setSubsurfaceRadius()

void castor3d::SubsurfaceScattering::setSubsurfaceRadius ( float value)
inline

References onChanged.

◆ setThicknessScale()

void castor3d::SubsurfaceScattering::setThicknessScale ( float value)
inline

References onChanged.

Member Data Documentation

◆ onChanged

OnChanged castor3d::SubsurfaceScattering::onChanged

The documentation for this class was generated from the following file: