HPS.VisualEffectsControl Class Reference

The HPS::VisualEffectsControl class is a smart pointer that is tied to a database object. This object enables you to set and unset various visual effects, such as shadows (including shadow color), reflection planes, and anti-aliasing. Default values for the various fields of HPS::VisualEffectsControl can be found here. More...

Inheritance diagram for HPS.VisualEffectsControl:
HPS.Control HPS.Object

Public Member Functions

override void Dispose ()
 
override HPS.Type ObjectType ()
 This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More...
 
HPS.VisualEffectsControl SetAntiAliasing (bool in_state)
 Manipulates the state of anti-aliasing. More...
 
HPS.VisualEffectsControl SetPostProcessEffectsEnabled (bool in_state)
 Allows all post-processing effects to be enabled or disabled en masse on a per segment basis. More...
 
HPS.VisualEffectsControl SetShadowMaps (bool in_state, uint in_samples, uint in_resolution, bool in_view_dependent, bool in_jitter)
 Manipulates the state of shadow maps in the scene. More...
 
HPS.VisualEffectsControl SetShadowMaps (bool in_state, uint in_samples, uint in_resolution, bool in_view_dependent)
 Manipulates the state of shadow maps in the scene. More...
 
HPS.VisualEffectsControl SetShadowMaps (bool in_state, uint in_samples, uint in_resolution)
 Manipulates the state of shadow maps in the scene. More...
 
HPS.VisualEffectsControl SetShadowMaps (bool in_state, uint in_samples)
 Manipulates the state of shadow maps in the scene. More...
 
HPS.VisualEffectsControl SetShadowMaps (bool in_state)
 Manipulates the state of shadow maps in the scene. More...
 
HPS.VisualEffectsControl SetShadowMaps (uint in_samples, uint in_resolution, bool in_view_dependent, bool in_jitter)
 Manipulates the state of shadow maps in the scene. The state is implicitly on. More...
 
HPS.VisualEffectsControl SetSimpleReflection (bool in_state, float in_opacity, uint 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. More...
 
HPS.VisualEffectsControl SetSimpleReflection (bool in_state, float in_opacity, uint in_blurring, bool in_fading, float in_attenuation_near_distance)
 Manipulates the state of simple reflections, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleReflection (bool in_state, float in_opacity, uint in_blurring, bool in_fading)
 Manipulates the state of simple reflections, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleReflection (bool in_state, float in_opacity, uint in_blurring)
 Manipulates the state of simple reflections, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleReflection (bool in_state, float in_opacity)
 Manipulates the state of simple reflections, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleReflection (bool in_state)
 Manipulates the state of simple reflections, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleReflection (float in_opacity, uint 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. More...
 
HPS.VisualEffectsControl SetSimpleReflectionPlane (HPS.Plane in_projected_onto)
 Manipulates the location and orientation of the plane that simple reflections are projected onto. More...
 
HPS.VisualEffectsControl SetSimpleReflectionPlane ()
 Manipulates the location and orientation of the plane that simple reflections are projected onto. More...
 
HPS.VisualEffectsControl SetSimpleReflectionVisibility (HPS.VisibilityKit in_reflected_types)
 Defines the visibility settings for the model when rendered in the reflection plane. More...
 
HPS.VisualEffectsControl SetSimpleShadow (bool in_state, uint in_resolution, uint in_blurring, bool in_ignore_transparency)
 Manipulates the state of simple shadows, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleShadow (bool in_state, uint in_resolution, uint in_blurring)
 Manipulates the state of simple shadows, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleShadow (bool in_state, uint in_resolution)
 Manipulates the state of simple shadows, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleShadow (bool in_state)
 Manipulates the state of simple shadows, projected onto a plane. More...
 
HPS.VisualEffectsControl SetSimpleShadow (uint in_resolution, uint in_blurring, bool in_ignore_transparency)
 Manipulates the state of simple shadows, projected onto a plane. The state is implicitly on. More...
 
HPS.VisualEffectsControl SetSimpleShadowColor (HPS.RGBAColor in_color)
 Sets the color that simple shadows will be rendered in. More...
 
HPS.VisualEffectsControl SetSimpleShadowColor ()
 Sets the color that simple shadows will be rendered in. More...
 
HPS.VisualEffectsControl SetSimpleShadowLightDirection (HPS.Vector in_direction)
 Sets the direction that the light source for a simple shadow is coming from. More...
 
HPS.VisualEffectsControl SetSimpleShadowLightDirection ()
 Sets the direction that the light source for a simple shadow is coming from. More...
 
HPS.VisualEffectsControl SetSimpleShadowPlane (HPS.Plane in_projected_onto)
 Manipulates the location and orientation of the plane that simple shadows are projected onto. More...
 
HPS.VisualEffectsControl SetSimpleShadowPlane ()
 Manipulates the location and orientation of the plane that simple shadows are projected onto. More...
 
bool ShowAntiAliasing (out bool out_state)
 Shows the anti-aliasing setting. More...
 
bool ShowPostProcessEffectsEnabled (out bool out_state)
 Shows the post-processing effects setting. More...
 
bool ShowShadowMaps (out bool out_state, out uint out_samples, out uint out_resolution, out bool out_view_dependent, out bool out_jitter)
 Shows the shadow maps setting. More...
 
bool ShowSimpleReflection (out bool out_state, out float out_opacity, out uint out_blurring, out bool out_fading, out float out_attenuation_near_distance, out float out_attenuation_far_distance)
 Shows the simple reflection setting. More...
 
bool ShowSimpleReflectionPlane (out HPS.Plane out_projected_onto)
 Shows the simple reflection plane setting. More...
 
bool ShowSimpleReflectionVisibility (out HPS.VisibilityKit out_reflected_types)
 Shows the simple shadow visibility setting. More...
 
bool ShowSimpleShadow (out bool out_state, out uint out_resolution, out uint out_blurring, out bool out_ignore_transparency)
 Shows the simple shadow setting. More...
 
bool ShowSimpleShadowColor (out HPS.RGBAColor out_color)
 Shows the simple shadow color setting. More...
 
bool ShowSimpleShadowLightDirection (out HPS.Vector out_direction)
 Shows the simple shadow light direction setting. More...
 
bool ShowSimpleShadowPlane (out HPS.Plane out_projected_onto)
 Shows the simple shadow plane setting. More...
 
HPS.VisualEffectsControl UnsetAntiAliasing ()
 Removes any anti-alias setting. More...
 
HPS.VisualEffectsControl UnsetEverything ()
 Removes all settings from this object. More...
 
HPS.VisualEffectsControl UnsetPostProcessEffectsEnabled ()
 Removes any post-processing effects setting. More...
 
HPS.VisualEffectsControl UnsetShadowMaps ()
 Removes any shadow maps setting. More...
 
HPS.VisualEffectsControl UnsetSimpleReflection ()
 Removes any simple reflection setting. More...
 
HPS.VisualEffectsControl UnsetSimpleReflectionPlane ()
 Removes any simple reflection plane setting. More...
 
HPS.VisualEffectsControl UnsetSimpleReflectionVisibility ()
 Removes any simple reflection visibility setting. More...
 
HPS.VisualEffectsControl UnsetSimpleShadow ()
 Removes any simple shadow setting. More...
 
HPS.VisualEffectsControl UnsetSimpleShadowColor ()
 Removes any simple shadow color setting. More...
 
HPS.VisualEffectsControl UnsetSimpleShadowLightDirection ()
 Removes any simple shadow light direction setting. More...
 
HPS.VisualEffectsControl UnsetSimpleShadowPlane ()
 Removes any simple shadow plane setting. More...
 
 VisualEffectsControl (HPS.SegmentKey in_seg)
 Initializes a control tied to the segment in_seg. More...
 
 VisualEffectsControl (HPS.VisualEffectsControl in_that)
 Initializes a control tied to the same object as in_that. More...
 
- Public Member Functions inherited from HPS.Control
 Control (HPS.Control in_that)
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 Indicates whether this object has any values set on it. More...
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More...
 
bool HasType (HPS.Type in_mask)
 This function indicates whether this Object has the given Type mask. More...
 
 Object (HPS.Object that)
 
virtual void Reset ()
 Resets this object to its initial, uninitialized state. More...
 
HPS.Type Type ()
 This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More...
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 
- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 
HandleRef scptr
 

Detailed Description

The HPS::VisualEffectsControl class is a smart pointer that is tied to a database object. This object enables you to set and unset various visual effects, such as shadows (including shadow color), reflection planes, and anti-aliasing. Default values for the various fields of HPS::VisualEffectsControl can be found here.

Constructor & Destructor Documentation

HPS.VisualEffectsControl.VisualEffectsControl ( HPS.SegmentKey  in_seg)
inline

Initializes a control tied to the segment in_seg.

HPS.VisualEffectsControl.VisualEffectsControl ( HPS.VisualEffectsControl  in_that)
inline

Initializes a control tied to the same object as in_that.

Member Function Documentation

override HPS.Type HPS.VisualEffectsControl.ObjectType ( )
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

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

Reimplemented from HPS.Object.

HPS.VisualEffectsControl HPS.VisualEffectsControl.SetAntiAliasing ( bool  in_state)
inline

Manipulates the state of anti-aliasing.

Parameters
in_stateWhether anti-aliasing should be used.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetPostProcessEffectsEnabled ( bool  in_state)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetShadowMaps ( bool  in_state,
uint  in_samples,
uint  in_resolution,
bool  in_view_dependent,
bool  in_jitter 
)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetShadowMaps ( bool  in_state,
uint  in_samples,
uint  in_resolution,
bool  in_view_dependent 
)
inline

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.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetShadowMaps ( bool  in_state,
uint  in_samples,
uint  in_resolution 
)
inline

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.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetShadowMaps ( bool  in_state,
uint  in_samples 
)
inline

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.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetShadowMaps ( bool  in_state)
inline

Manipulates the state of shadow maps in the scene.

Parameters
in_stateWhether shadow maps should be used.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetShadowMaps ( uint  in_samples,
uint  in_resolution,
bool  in_view_dependent,
bool  in_jitter 
)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflection ( bool  in_state,
float  in_opacity,
uint  in_blurring,
bool  in_fading,
float  in_attenuation_near_distance,
float  in_attenuation_far_distance 
)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflection ( bool  in_state,
float  in_opacity,
uint  in_blurring,
bool  in_fading,
float  in_attenuation_near_distance 
)
inline

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.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflection ( bool  in_state,
float  in_opacity,
uint  in_blurring,
bool  in_fading 
)
inline

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.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflection ( bool  in_state,
float  in_opacity,
uint  in_blurring 
)
inline

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].
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflection ( bool  in_state,
float  in_opacity 
)
inline

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.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflection ( bool  in_state)
inline

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

Parameters
in_stateWhether simple shadows should be used.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflection ( float  in_opacity,
uint  in_blurring,
bool  in_fading,
float  in_attenuation_near_distance,
float  in_attenuation_far_distance 
)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflectionPlane ( HPS.Plane  in_projected_onto)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflectionPlane ( )
inline

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

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleReflectionVisibility ( HPS.VisibilityKit  in_reflected_types)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadow ( bool  in_state,
uint  in_resolution,
uint  in_blurring,
bool  in_ignore_transparency 
)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadow ( bool  in_state,
uint  in_resolution,
uint  in_blurring 
)
inline

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].
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadow ( bool  in_state,
uint  in_resolution 
)
inline

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].
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadow ( bool  in_state)
inline

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

Parameters
in_stateWhether simple shadows should be used.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadow ( uint  in_resolution,
uint  in_blurring,
bool  in_ignore_transparency 
)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadowColor ( HPS.RGBAColor  in_color)
inline

Sets the color that simple shadows will be rendered in.

Parameters
in_colorThe color of simple shadows.
Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadowColor ( )
inline

Sets the color that simple shadows will be rendered in.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadowLightDirection ( HPS.Vector  in_direction)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadowLightDirection ( )
inline

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

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadowPlane ( HPS.Plane  in_projected_onto)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.SetSimpleShadowPlane ( )
inline

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

Returns
A reference to this object.
bool HPS.VisualEffectsControl.ShowAntiAliasing ( out bool  out_state)
inline

Shows the anti-aliasing setting.

Parameters
out_stateWhether anti-aliasing should be used.
Returns
true if the setting is valid, false otherwise.
bool HPS.VisualEffectsControl.ShowPostProcessEffectsEnabled ( out bool  out_state)
inline

Shows the post-processing effects setting.

Parameters
out_stateWhether post-processing effects are enabled.
Returns
true if the setting is valid, false otherwise.
bool HPS.VisualEffectsControl.ShowShadowMaps ( out bool  out_state,
out uint  out_samples,
out uint  out_resolution,
out bool  out_view_dependent,
out bool  out_jitter 
)
inline

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.
bool HPS.VisualEffectsControl.ShowSimpleReflection ( out bool  out_state,
out float  out_opacity,
out uint  out_blurring,
out bool  out_fading,
out float  out_attenuation_near_distance,
out float  out_attenuation_far_distance 
)
inline

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.
bool HPS.VisualEffectsControl.ShowSimpleReflectionPlane ( out HPS.Plane  out_projected_onto)
inline

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.
bool HPS.VisualEffectsControl.ShowSimpleReflectionVisibility ( out HPS.VisibilityKit  out_reflected_types)
inline

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.
bool HPS.VisualEffectsControl.ShowSimpleShadow ( out bool  out_state,
out uint  out_resolution,
out uint  out_blurring,
out bool  out_ignore_transparency 
)
inline

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.
bool HPS.VisualEffectsControl.ShowSimpleShadowColor ( out HPS.RGBAColor  out_color)
inline

Shows the simple shadow color setting.

Parameters
out_colorThe color of simple shadows.
Returns
true if the setting is valid, false otherwise.
bool HPS.VisualEffectsControl.ShowSimpleShadowLightDirection ( out HPS.Vector  out_direction)
inline

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.
bool HPS.VisualEffectsControl.ShowSimpleShadowPlane ( out HPS.Plane  out_projected_onto)
inline

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.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetAntiAliasing ( )
inline

Removes any anti-alias setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetEverything ( )
inline

Removes all settings from this object.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetPostProcessEffectsEnabled ( )
inline

Removes any post-processing effects setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetShadowMaps ( )
inline

Removes any shadow maps setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetSimpleReflection ( )
inline

Removes any simple reflection setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetSimpleReflectionPlane ( )
inline

Removes any simple reflection plane setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetSimpleReflectionVisibility ( )
inline

Removes any simple reflection visibility setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetSimpleShadow ( )
inline

Removes any simple shadow setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetSimpleShadowColor ( )
inline

Removes any simple shadow color setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetSimpleShadowLightDirection ( )
inline

Removes any simple shadow light direction setting.

Returns
A reference to this object.
HPS.VisualEffectsControl HPS.VisualEffectsControl.UnsetSimpleShadowPlane ( )
inline

Removes any simple shadow plane setting.

Returns
A reference to this object.

The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.VisualEffectsControl.cs