#include <hps.h>

Inheritance diagram for HPS::VisualEffectsKit:
HPS::Kit HPS::Object

Public Member Functions

bool Empty () const
 
bool Equals (VisualEffectsKit const &in_kit) const
 
HPS::Type ObjectType () const
 
bool operator!= (VisualEffectsKit const &in_kit) const
 
VisualEffectsKitoperator= (VisualEffectsKit &&in_that)
 
VisualEffectsKitoperator= (VisualEffectsKit const &in_kit)
 
bool operator== (VisualEffectsKit const &in_kit) const
 
void Set (VisualEffectsKit const &in_kit)
 
VisualEffectsKitSetAmbientOcclusionEnabled (bool in_state)
 
VisualEffectsKitSetAntiAliasing (bool in_state)
 
VisualEffectsKitSetBloomEnabled (bool in_state)
 
VisualEffectsKitSetDepthOfFieldEnabled (bool in_state)
 
VisualEffectsKitSetEyeDomeLightingBackColor (bool in_state, RGBColor const &in_color=RGBColor::Black())
 
VisualEffectsKitSetEyeDomeLightingBackColor (RGBColor const &in_color)
 
VisualEffectsKitSetEyeDomeLightingEnabled (bool in_state)
 
VisualEffectsKitSetPostProcessEffectsEnabled (bool in_state)
 
VisualEffectsKitSetShadowMaps (bool in_state, unsigned int in_samples=4, unsigned int in_resolution=1024, bool in_view_dependent=true, bool in_jitter=true)
 
VisualEffectsKitSetShadowMaps (unsigned int in_samples, unsigned int in_resolution, bool in_view_dependent, bool in_jitter)
 
VisualEffectsKitSetSilhouetteEdgesEnabled (bool in_state)
 
VisualEffectsKitSetSimpleReflection (bool in_state, float in_opacity=0.5f, unsigned int in_blurring=1, bool in_fading=false, float in_attenuation_near_distance=0.0f, float in_attenuation_far_distance=Float::Infinity)
 
VisualEffectsKitSetSimpleReflection (float in_opacity, unsigned int in_blurring, bool in_fading, float in_attenuation_near_distance, float in_attenuation_far_distance)
 
VisualEffectsKitSetSimpleReflectionPlane (Plane const &in_projected_onto=Plane(0.0f, 1.0f, 0.0f, 1.0f))
 
VisualEffectsKitSetSimpleReflectionVisibility (VisibilityKit const &in_reflected_types)
 
VisualEffectsKitSetSimpleShadow (bool in_state, unsigned int in_resolution=256, unsigned int in_blurring=1, bool in_ignore_transparency=false)
 
VisualEffectsKitSetSimpleShadow (unsigned int in_resolution, unsigned int in_blurring, bool in_ignore_transparency)
 
VisualEffectsKitSetSimpleShadowColor (RGBAColor const &in_color=RGBAColor(0.0f, 0.0f, 0.0f, 1.0f))
 
VisualEffectsKitSetSimpleShadowLightDirection (Vector const &in_direction=Vector(0.0f, 1.0f, 0.0f))
 
VisualEffectsKitSetSimpleShadowPlane (Plane const &in_projected_onto=Plane(0.0f, 1.0f, 0.0f, 1.0f))
 
VisualEffectsKitSetTextAntiAliasing (bool in_state)
 
void Show (VisualEffectsKit &out_kit) const
 
bool ShowAmbientOcclusionEnabled (bool &out_state) const
 
bool ShowAntiAliasing (bool &out_state) const
 
bool ShowBloomEnabled (bool &out_state) const
 
bool ShowDepthOfFieldEnabled (bool &out_state) const
 
bool ShowEyeDomeLightingBackColor (bool &out_state, RGBColor &out_color) const
 
bool ShowEyeDomeLightingEnabled (bool &out_state) const
 
bool ShowPostProcessEffectsEnabled (bool &out_state) const
 
bool ShowShadowMaps (bool &out_state, unsigned int &out_samples, unsigned int &out_resolution, bool &out_view_dependent, bool &out_jitter) const
 
bool ShowSilhouetteEdgesEnabled (bool &out_state) const
 
bool ShowSimpleReflection (bool &out_state, float &out_opacity, unsigned int &out_blurring, bool &out_fading, float &out_attenuation_near_distance, float &out_attenuation_far_distance) const
 
bool ShowSimpleReflectionPlane (Plane &out_projected_onto) const
 
bool ShowSimpleReflectionVisibility (VisibilityKit &out_reflected_types) const
 
bool ShowSimpleShadow (bool &out_state, unsigned int &out_resolution, unsigned int &out_blurring, bool &out_ignore_transparency) const
 
bool ShowSimpleShadowColor (RGBAColor &out_color) const
 
bool ShowSimpleShadowLightDirection (Vector &out_direction) const
 
bool ShowSimpleShadowPlane (Plane &out_projected_onto) const
 
bool ShowTextAntiAliasing (bool &out_state) const
 
VisualEffectsKitUnsetAmbientOcclusionEnabled ()
 
VisualEffectsKitUnsetAntiAliasing ()
 
VisualEffectsKitUnsetBloomEnabled ()
 
VisualEffectsKitUnsetDepthOfFieldEnabled ()
 
VisualEffectsKitUnsetEverything ()
 
VisualEffectsKitUnsetEyeDomeLightingBackColor ()
 
VisualEffectsKitUnsetEyeDomeLightingEnabled ()
 
VisualEffectsKitUnsetPostProcessEffectsEnabled ()
 
VisualEffectsKitUnsetShadowMaps ()
 
VisualEffectsKitUnsetSilhouetteEdgesEnabled ()
 
VisualEffectsKitUnsetSimpleReflection ()
 
VisualEffectsKitUnsetSimpleReflectionPlane ()
 
VisualEffectsKitUnsetSimpleReflectionVisibility ()
 
VisualEffectsKitUnsetSimpleShadow ()
 
VisualEffectsKitUnsetSimpleShadowColor ()
 
VisualEffectsKitUnsetSimpleShadowLightDirection ()
 
VisualEffectsKitUnsetSimpleShadowPlane ()
 
VisualEffectsKitUnsetTextAntiAliasing ()
 
 VisualEffectsKit ()
 
 VisualEffectsKit (VisualEffectsKit const &in_kit)
 
 VisualEffectsKit (VisualEffectsKit &&in_that)
 
virtual ~VisualEffectsKit ()
 
- Public Member Functions inherited from HPS::Kit
virtual HPS::Type Type () const
 
- Public Member Functions inherited from HPS::Object
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 
bool HasType (HPS::Type in_mask) const
 
 Object (Object const &that)
 
 Object (Object &&in_that)
 
Objectoperator= (Object const &other_object)
 
Objectoperator= (Object &&in_that)
 
virtual void Reset ()
 

Static Public Member Functions

static VisualEffectsKit GetDefault ()
 
- Static Public Member Functions inherited from HPS::Object
template<typename T >
static intptr_t ClassID ()
 

Static Public Attributes

static const HPS::Type staticType = HPS::Type::VisualEffectsKit
 
- Static Public Attributes inherited from HPS::Kit
static const HPS::Type staticType = HPS::Type::Kit
 
- Static Public Attributes inherited from HPS::Object
static const HPS::Type staticType = HPS::Type::None
 

Additional Inherited Members

- Protected Member Functions inherited from HPS::Kit
 Kit (Kit &&in_that)
 
Kitoperator= (Kit &&in_that)
 

Detailed Description

The HPS::VisualEffectsKit class is a user space object, useful for carrying a group attribute settings. Calling HPS::VisualEffectsKit::GetDefault() will return a kit with values found in this table.

Constructor & Destructor Documentation

◆ VisualEffectsKit() [1/3]

HPS::VisualEffectsKit::VisualEffectsKit ( )

Initializes an empty kit.

◆ VisualEffectsKit() [2/3]

HPS::VisualEffectsKit::VisualEffectsKit ( VisualEffectsKit const &  in_kit)

The copy constructor creates a new VisualEffectsKit object that contains the same settings as the source object.

Parameters
in_kitThe source object to copy.

◆ VisualEffectsKit() [3/3]

HPS::VisualEffectsKit::VisualEffectsKit ( VisualEffectsKit &&  in_that)

The move constructor creates a VisualEffectsKit by transferring the underlying impl of the rvalue reference to this VisualEffectsKit thereby avoiding a copy and allocation.

Parameters
in_thatAn rvalue reference to a VisualEffectsKit to take the impl from.

◆ ~VisualEffectsKit()

virtual HPS::VisualEffectsKit::~VisualEffectsKit ( )
virtual

Destroy this kit.

Member Function Documentation

◆ Empty()

bool HPS::VisualEffectsKit::Empty ( ) const
virtual

Indicates whether this object has any values set on it.

Returns
true if no values are set on this object, false otherwise.

Reimplemented from HPS::Object.

◆ Equals()

bool HPS::VisualEffectsKit::Equals ( VisualEffectsKit const &  in_kit) const

Check if the source VisualEffectsKit is equivalent to this object.

Parameters
in_kitThe source VisualEffectsKit to compare to this object.
Returns
true if the objects are equivalent, false otherwise.

◆ GetDefault()

static VisualEffectsKit HPS::VisualEffectsKit::GetDefault ( )
static

Creates a VisualEffectsKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.

Returns
A VisualEffectsKit with the default settings.

◆ ObjectType()

HPS::Type HPS::VisualEffectsKit::ObjectType ( ) const
inlinevirtual

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS::Kit.

◆ operator!=()

bool HPS::VisualEffectsKit::operator!= ( VisualEffectsKit const &  in_kit) const

Check if the source VisualEffectsKit is not equivalent to this object.

Parameters
in_kitThe source VisualEffectsKit to compare to this object.
Returns
true if the objects are not equivalent, false otherwise.

◆ operator=() [1/2]

VisualEffectsKit& HPS::VisualEffectsKit::operator= ( VisualEffectsKit &&  in_that)

The move assignment operator transfers the underlying impl of the rvalue reference to this VisualEffectsKit thereby avoiding a copy.

Parameters
in_thatAn rvalue reference to a VisualEffectsKit to take the impl from.
Returns
A reference to this VisualEffectsKit.

◆ operator=() [2/2]

VisualEffectsKit& HPS::VisualEffectsKit::operator= ( VisualEffectsKit const &  in_kit)

Copies the source VisualEffectsKit into this object.

Parameters
in_kitThe source VisualEffectsKit to copy.
Returns
A reference to this object.

◆ operator==()

bool HPS::VisualEffectsKit::operator== ( VisualEffectsKit const &  in_kit) const

Check if the source VisualEffectsKit is equivalent to this object.

Parameters
in_kitThe source VisualEffectsKit to compare to this object.
Returns
true if the objects are equivalent, false otherwise.

◆ Set()

void HPS::VisualEffectsKit::Set ( VisualEffectsKit const &  in_kit)

Copies the source VisualEffectsKit into this object.

Parameters
in_kitThe source object to copy.

◆ SetAmbientOcclusionEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::SetAmbientOcclusionEnabled ( bool  in_state)

Allows ambient occlusion to be enabled or disabled on a per segment basis.

Parameters
in_stateWhether ambient occlusion should be used.
Returns
A reference to this object.

◆ SetAntiAliasing()

VisualEffectsKit& HPS::VisualEffectsKit::SetAntiAliasing ( bool  in_state)

Manipulates the state of anti-aliasing(text and screen).

Parameters
in_stateWhether anti-aliasing(text and screen) should be used.
Returns
A reference to this object.
Deprecated:
This function exists for compatibility and SetTextAntiAliasing(bool in_state) should be preferred in general usage.

◆ SetBloomEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::SetBloomEnabled ( bool  in_state)

Allows bloom to be enabled or disabled on a per segment basis.

Parameters
in_stateWhether bloom should be used.
Returns
A reference to this object.

◆ SetDepthOfFieldEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::SetDepthOfFieldEnabled ( bool  in_state)

Allows depth of field to be enabled or disabled on a per segment basis.

Parameters
in_stateWhether depth of field should be used.
Returns
A reference to this object.

◆ SetEyeDomeLightingBackColor() [1/2]

VisualEffectsKit& HPS::VisualEffectsKit::SetEyeDomeLightingBackColor ( bool  in_state,
RGBColor const &  in_color = RGBColor::Black() 
)

Sets the color to use for the back of a point in a point cloud when rendered via eye dome lighting.

Note
For this setting to have an effect, the points in a point cloud must have normals specified.
Parameters
in_stateWhether a back color should be used for eye dome lighting.
in_colorThe color to use for the back of a point for eye dome lighting.
Returns
A reference to this object.

◆ SetEyeDomeLightingBackColor() [2/2]

VisualEffectsKit& HPS::VisualEffectsKit::SetEyeDomeLightingBackColor ( RGBColor const &  in_color)

Sets the color to use for the back of a point in a point cloud when rendered via eye dome lighting. The state is implicitly on.

Note
For this setting to have an effect, the points in a point cloud must have normals specified.
Parameters
in_colorThe color to use for the back of a point for eye dome lighting.
Returns
A reference to this object.

◆ SetEyeDomeLightingEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::SetEyeDomeLightingEnabled ( bool  in_state)

Allows eye dome lighting to be enabled or disabled on a per segment basis.

Parameters
in_stateWhether eye dome lighting should be used.
Returns
A reference to this object.

◆ SetPostProcessEffectsEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::SetPostProcessEffectsEnabled ( bool  in_state)

Allows all post-processing effects to be enabled or disabled en masse on a per segment basis.

Parameters
in_stateWhether post-processing effects should be used.
Returns
A reference to this object.

◆ SetShadowMaps() [1/2]

VisualEffectsKit& HPS::VisualEffectsKit::SetShadowMaps ( bool  in_state,
unsigned int  in_samples = 4,
unsigned int  in_resolution = 1024,
bool  in_view_dependent = true,
bool  in_jitter = true 
)

Manipulates the state of shadow maps in the scene.

Parameters
in_stateWhether shadow maps should be used.
in_samplesThe number of locations in the shadow map used to determine the percentage value of light received by a pixel in the rendered scene.
in_resolutionThe width and height of the shadow map. This value will be clamped up/down to 512, 1024 or 2048.
in_view_dependentWhen enabled, the view frustum is taken into account when generating shadow maps. This results in significantly better visual quality, but at the cost of not being able to reuse shadow maps from previous frames, even if the lighting is constant with respect to the scene.
in_jitterTurning this on causes stochastic sampling of shadow maps. This should reduce aliasing in the shadow map.
Returns
A reference to this object.

◆ SetShadowMaps() [2/2]

VisualEffectsKit& HPS::VisualEffectsKit::SetShadowMaps ( unsigned int  in_samples,
unsigned int  in_resolution,
bool  in_view_dependent,
bool  in_jitter 
)

Manipulates the state of shadow maps in the scene. The state is implicitly on.

Parameters
in_samplesThe number of locations in the shadow map used to determine the percentage value of light received by a pixel in the rendered scene.
in_resolutionThe width and height of the shadow map. This value will be clamped up/down to 512, 1024 or 2048.
in_view_dependentWhen enabled, the view frustum is taken into account when generating shadow maps. This results in significantly better visual quality, but at the cost of not being able to reuse shadow maps from previous frames, even if the lighting is constant with respect to the scene.
in_jitterTurning this on causes stochastic sampling of shadow maps. This should reduce aliasing in the shadow map.
Returns
A reference to this object.

◆ SetSilhouetteEdgesEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::SetSilhouetteEdgesEnabled ( bool  in_state)

Allows silhouette edges to be enabled or disabled on a per segment basis.

Parameters
in_stateWhether silhouette edges should be used.
Returns
A reference to this object.

◆ SetSimpleReflection() [1/2]

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleReflection ( bool  in_state,
float  in_opacity = 0.5f,
unsigned int  in_blurring = 1,
bool  in_fading = false,
float  in_attenuation_near_distance = 0.0f,
float  in_attenuation_far_distance = Float::Infinity 
)

Manipulates the state of simple reflections, projected onto a plane.

Parameters
in_stateWhether simple shadows should be used.
in_opacityAn alpha value that sets the transparency level of the reflection plane. Valid range is [0,1] with a value of zero making the plane completely transparent.
in_blurringThe level of blurring (softening) that is applied to the shadow. Valid range is [1,31].
in_fadingWhether the reflection plane should fade as it moves away from the camera.
in_attenuation_near_distanceThe orthogonal distances (in world space) from the reflection plane that the model begins to fade. Attenuation begins at in_attenuation_near_distance and increases linearly such that the model is not visible in the reflection beyond in_attenuation_far_distance.
in_attenuation_far_distanceThe orthogonal distances (in world space) from the reflection plane that the model is completely faded. Attenuation begins at in_attenuation_near_distance and increases linearly such that the model is not visible in the reflection beyond in_attenuation_far_distance.
Returns
A reference to this object.

◆ SetSimpleReflection() [2/2]

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleReflection ( float  in_opacity,
unsigned int  in_blurring,
bool  in_fading,
float  in_attenuation_near_distance,
float  in_attenuation_far_distance 
)

Manipulates the state of simple reflections, projected onto a plane. The state is implicitly on.

Parameters
in_opacityAn alpha value that sets the transparency level of the reflection plane. Valid range is [0,1] with a value of zero making the plane completely transparent.
in_blurringThe level of blurring (softening) that is applied to the shadow. Valid range is [1,31].
in_fadingWhether the reflection plane should fade as it moves away from the camera.
in_attenuation_near_distanceThe orthogonal distances (in world space) from the reflection plane that the model begins to fade. Attenuation begins at in_attenuation_near_distance and increases linearly such that the model is not visible in the reflection beyond in_attenuation_far_distance.
in_attenuation_far_distanceThe orthogonal distances (in world space) from the reflection plane that the model is completely faded. Attenuation begins at in_attenuation_near_distance and increases linearly such that the model is not visible in the reflection beyond in_attenuation_far_distance.
Returns
A reference to this object.

◆ SetSimpleReflectionPlane()

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleReflectionPlane ( Plane const &  in_projected_onto = Plane(0.0f, 1.0f, 0.0f, 1.0f))

Manipulates the location and orientation of the plane that simple reflections are projected onto.

Parameters
in_projected_ontoThe plane that simple reflections should be projected onto.
Returns
A reference to this object.

◆ SetSimpleReflectionVisibility()

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleReflectionVisibility ( VisibilityKit const &  in_reflected_types)

Defines the visibility settings for the model when rendered in the reflection plane.

Parameters
in_reflected_typesA collection of visibility settings that will be applied to the reflected geometry.
Returns
A reference to this object.

◆ SetSimpleShadow() [1/2]

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleShadow ( bool  in_state,
unsigned int  in_resolution = 256,
unsigned int  in_blurring = 1,
bool  in_ignore_transparency = false 
)

Manipulates the state of simple shadows, projected onto a plane.

Parameters
in_stateWhether simple shadows should be used.
in_resolutionThe width and height of the simple shadow. Valid range is [32, 1024].
in_blurringThe level of blurring (softening) that is applied to the shadow. Valid range is [1,31].
in_ignore_transparencyWhether any segment-level transparency setting should be ignored when rendering the simple shadow.
Returns
A reference to this object.

◆ SetSimpleShadow() [2/2]

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleShadow ( unsigned int  in_resolution,
unsigned int  in_blurring,
bool  in_ignore_transparency 
)

Manipulates the state of simple shadows, projected onto a plane. The state is implicitly on.

Parameters
in_resolutionThe width and height of the simple shadow. Valid range is [32, 1024].
in_blurringThe level of blurring (softening) that is applied to the shadow. Valid range is [1,31].
in_ignore_transparencyWhether any segment-level transparency setting should be ignored when rendering the simple shadow.
Returns
A reference to this object.

◆ SetSimpleShadowColor()

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleShadowColor ( RGBAColor const &  in_color = RGBAColor(0.0f, 0.0f, 0.0f, 1.0f))

Sets the color that simple shadows will be rendered in.

Parameters
in_colorThe color of simple shadows.
Returns
A reference to this object.

◆ SetSimpleShadowLightDirection()

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleShadowLightDirection ( Vector const &  in_direction = Vector(0.0f, 1.0f, 0.0f))

Sets the direction that the light source for a simple shadow is coming from.

Parameters
in_directionThe direction that the light source for a simple shadow is coming from.
Returns
A reference to this object.

◆ SetSimpleShadowPlane()

VisualEffectsKit& HPS::VisualEffectsKit::SetSimpleShadowPlane ( Plane const &  in_projected_onto = Plane(0.0f, 1.0f, 0.0f, 1.0f))

Manipulates the location and orientation of the plane that simple shadows are projected onto.

Parameters
in_projected_ontoThe plane that simple shadows should be projected onto.
Returns
A reference to this object.

◆ SetTextAntiAliasing()

VisualEffectsKit& HPS::VisualEffectsKit::SetTextAntiAliasing ( bool  in_state)

Manipulates the state of anti-aliasing.

Parameters
in_stateWhether anti-aliasing should be used.
Returns
A reference to this object.

◆ Show()

void HPS::VisualEffectsKit::Show ( VisualEffectsKit out_kit) const

Copies this object into the given VisualEffectsKit.

Parameters
out_kitThe VisualEffectsKit to populate with the contents of this object.

◆ ShowAmbientOcclusionEnabled()

bool HPS::VisualEffectsKit::ShowAmbientOcclusionEnabled ( bool &  out_state) const

Shows the ambient occlusion setting.

Parameters
out_stateWhether ambient occlusion is enabled.
Returns
true if the setting is valid, false otherwise.

◆ ShowAntiAliasing()

bool HPS::VisualEffectsKit::ShowAntiAliasing ( bool &  out_state) const

Shows the anti-aliasing setting.

Parameters
out_stateWhether anti-aliasing(text and screen) should be used.
Returns
true if the setting(text and screen) is valid, false otherwise.
Deprecated:
This function exists for compatibility and ShowTextAntiAliasing(bool & out_state) should be preferred in general usage.

◆ ShowBloomEnabled()

bool HPS::VisualEffectsKit::ShowBloomEnabled ( bool &  out_state) const

Shows the bloom setting.

Parameters
out_stateWhether bloom is enabled.
Returns
true if the setting is valid, false otherwise.

◆ ShowDepthOfFieldEnabled()

bool HPS::VisualEffectsKit::ShowDepthOfFieldEnabled ( bool &  out_state) const

Shows the depth of field setting.

Parameters
out_stateWhether depth of field is enabled.
Returns
true if the setting is valid, false otherwise.

◆ ShowEyeDomeLightingBackColor()

bool HPS::VisualEffectsKit::ShowEyeDomeLightingBackColor ( bool &  out_state,
RGBColor out_color 
) const

Shows the eye dome lighting back color setting.

Parameters
out_stateWhether a back color should be used for eye dome lighting.
out_colorThe color to use for the back of a point for eye dome lighting.
Returns
true if the setting is valid, false otherwise.

◆ ShowEyeDomeLightingEnabled()

bool HPS::VisualEffectsKit::ShowEyeDomeLightingEnabled ( bool &  out_state) const

Shows the eye dome lighting setting.

Parameters
out_stateWhether eye dome lighting is enabled.
Returns
true if the setting is valid, false otherwise.

◆ ShowPostProcessEffectsEnabled()

bool HPS::VisualEffectsKit::ShowPostProcessEffectsEnabled ( bool &  out_state) const

Shows the post-processing effects setting.

Parameters
out_stateWhether post-processing effects are enabled.
Returns
true if the setting is valid, false otherwise.

◆ ShowShadowMaps()

bool HPS::VisualEffectsKit::ShowShadowMaps ( bool &  out_state,
unsigned int &  out_samples,
unsigned int &  out_resolution,
bool &  out_view_dependent,
bool &  out_jitter 
) const

Shows the shadow maps setting.

Parameters
out_stateWhether shadow maps should be used.
out_samplesThe number of locations in the shadow map used to determine the percentage value of light received by a pixel in the rendered scene.
out_resolutionThe width and height of the shadow map.
out_view_dependentWhen enabled, the view frustum is taken into account when generating shadow maps.
out_jitterWhether stochastic sampling of shadow maps should be use to reduce aliasing in the shadow map.
Returns
true if the setting is valid, false otherwise.

◆ ShowSilhouetteEdgesEnabled()

bool HPS::VisualEffectsKit::ShowSilhouetteEdgesEnabled ( bool &  out_state) const

Shows the silhouette edges setting.

Parameters
out_stateWhether silhouette edges are enabled.
Returns
true if the setting is valid, false otherwise.

◆ ShowSimpleReflection()

bool HPS::VisualEffectsKit::ShowSimpleReflection ( bool &  out_state,
float &  out_opacity,
unsigned int &  out_blurring,
bool &  out_fading,
float &  out_attenuation_near_distance,
float &  out_attenuation_far_distance 
) const

Shows the simple reflection setting.

Parameters
out_stateWhether simple shadows should be used.
out_opacityAn alpha value that sets the transparency level of the reflection plane.
out_blurringThe level of blurring (softening) that is applied to the shadow.
out_fadingWhether the reflection plane should fade as it moves away from the camera.
out_attenuation_near_distanceThe orthogonal distances (in world space) from the reflection plane that the model begins to fade.
out_attenuation_far_distanceThe orthogonal distances (in world space) from the reflection plane that the model is completely faded.
Returns
true if the setting is valid, false otherwise.

◆ ShowSimpleReflectionPlane()

bool HPS::VisualEffectsKit::ShowSimpleReflectionPlane ( Plane out_projected_onto) const

Shows the simple reflection plane setting.

Parameters
out_projected_ontoThe plane that simple reflections should be projected onto.
Returns
true if the setting is valid, false otherwise.

◆ ShowSimpleReflectionVisibility()

bool HPS::VisualEffectsKit::ShowSimpleReflectionVisibility ( VisibilityKit out_reflected_types) const

Shows the simple shadow visibility setting.

Parameters
out_reflected_typesA collection of visibility settings that will be applied to the reflected geometry.
Returns
true if the setting is valid, false otherwise.

◆ ShowSimpleShadow()

bool HPS::VisualEffectsKit::ShowSimpleShadow ( bool &  out_state,
unsigned int &  out_resolution,
unsigned int &  out_blurring,
bool &  out_ignore_transparency 
) const

Shows the simple shadow setting.

Parameters
out_stateWhether simple shadows should be used.
out_resolutionThe width and height of the simple shadow.
out_blurringThe level of blurring (softening) that is applied to the shadow.
out_ignore_transparencyWhether any segment-level transparency setting should be ignored when rendering the simple shadow.
Returns
true if the setting is valid, false otherwise.

◆ ShowSimpleShadowColor()

bool HPS::VisualEffectsKit::ShowSimpleShadowColor ( RGBAColor out_color) const

Shows the simple shadow color setting.

Parameters
out_colorThe color of simple shadows.
Returns
true if the setting is valid, false otherwise.

◆ ShowSimpleShadowLightDirection()

bool HPS::VisualEffectsKit::ShowSimpleShadowLightDirection ( Vector out_direction) const

Shows the simple shadow light direction setting.

Parameters
out_directionThe direction that the light source for a simple shadow is coming from.
Returns
true if the setting is valid, false otherwise.

◆ ShowSimpleShadowPlane()

bool HPS::VisualEffectsKit::ShowSimpleShadowPlane ( Plane out_projected_onto) const

Shows the simple shadow plane setting.

Parameters
out_projected_ontoThe plane that simple shadows should be projected onto.
Returns
true if the setting is valid, false otherwise.

◆ ShowTextAntiAliasing()

bool HPS::VisualEffectsKit::ShowTextAntiAliasing ( bool &  out_state) const

Shows the text anti-aliasing setting.

Parameters
out_stateWhether text anti-aliasing should be used.
Returns
true if the setting is valid, false otherwise.

◆ UnsetAmbientOcclusionEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetAmbientOcclusionEnabled ( )

Removes any ambient occlusion setting.

Returns
A reference to this object.

◆ UnsetAntiAliasing()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetAntiAliasing ( )

Removes any anti-alias setting(text and screen).

Returns
A reference to this object.
Deprecated:
This function exists for compatibility and UnsetTextAntiAliasing() should be preferred in general usage.

◆ UnsetBloomEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetBloomEnabled ( )

Removes any bloom setting.

Returns
A reference to this object.

◆ UnsetDepthOfFieldEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetDepthOfFieldEnabled ( )

Removes any depth of field setting.

Returns
A reference to this object.

◆ UnsetEverything()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetEverything ( )

Removes all settings from this object.

Returns
A reference to this object.

◆ UnsetEyeDomeLightingBackColor()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetEyeDomeLightingBackColor ( )

Removes any eye dome lighting back color setting.

Returns
A reference to this object.

◆ UnsetEyeDomeLightingEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetEyeDomeLightingEnabled ( )

Removes any eye dome lighting setting.

Returns
A reference to this object.

◆ UnsetPostProcessEffectsEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetPostProcessEffectsEnabled ( )

Removes any post-processing effects setting.

Returns
A reference to this object.

◆ UnsetShadowMaps()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetShadowMaps ( )

Removes any shadow maps setting.

Returns
A reference to this object.

◆ UnsetSilhouetteEdgesEnabled()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetSilhouetteEdgesEnabled ( )

Removes any silhouette edges setting.

Returns
A reference to this object.

◆ UnsetSimpleReflection()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetSimpleReflection ( )

Removes any simple reflection setting.

Returns
A reference to this object.

◆ UnsetSimpleReflectionPlane()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetSimpleReflectionPlane ( )

Removes any simple reflection plane setting.

Returns
A reference to this object.

◆ UnsetSimpleReflectionVisibility()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetSimpleReflectionVisibility ( )

Removes any simple reflection visibility setting.

Returns
A reference to this object.

◆ UnsetSimpleShadow()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetSimpleShadow ( )

Removes any simple shadow setting.

Returns
A reference to this object.

◆ UnsetSimpleShadowColor()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetSimpleShadowColor ( )

Removes any simple shadow color setting.

Returns
A reference to this object.

◆ UnsetSimpleShadowLightDirection()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetSimpleShadowLightDirection ( )

Removes any simple shadow light direction setting.

Returns
A reference to this object.

◆ UnsetSimpleShadowPlane()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetSimpleShadowPlane ( )

Removes any simple shadow plane setting.

Returns
A reference to this object.

◆ UnsetTextAntiAliasing()

VisualEffectsKit& HPS::VisualEffectsKit::UnsetTextAntiAliasing ( )

Removes any text anti-alias setting.

Returns
A reference to this object.

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