HPS.DrawingAttributeControl Class Reference
Inheritance diagram for HPS.DrawingAttributeControl:
HPS.Control HPS.Object

Public Member Functions

override void Dispose ()
 
 DrawingAttributeControl (HPS.SegmentKey in_seg)
 
 DrawingAttributeControl (HPS.DrawingAttributeControl in_that)
 
override HPS.Type ObjectType ()
 
HPS.DrawingAttributeControl SetClipRegion (HPS.Point[] in_points, HPS.Drawing.ClipSpace in_space, HPS.Drawing.ClipOperation in_operation)
 
HPS.DrawingAttributeControl SetClipRegion (HPS.Point[] in_points, HPS.Drawing.ClipSpace in_space)
 
HPS.DrawingAttributeControl SetClipRegion (HPS.Point[] in_points)
 
HPS.DrawingAttributeControl SetClipRegion (HPS.Point[][] in_loops, HPS.Drawing.ClipSpace in_space, HPS.Drawing.ClipOperation in_operation)
 
HPS.DrawingAttributeControl SetClipRegion (HPS.Point[][] in_loops, HPS.Drawing.ClipSpace in_space)
 
HPS.DrawingAttributeControl SetClipRegion (HPS.Point[][] in_loops)
 
HPS.DrawingAttributeControl SetDeferral (int in_deferral)
 
HPS.DrawingAttributeControl SetDepthRange (float in_near, float in_far)
 
HPS.DrawingAttributeControl SetFaceDisplacement (bool in_state, int in_buckets)
 
HPS.DrawingAttributeControl SetFaceDisplacement (bool in_state)
 
HPS.DrawingAttributeControl SetFaceDisplacement (int in_buckets)
 
HPS.DrawingAttributeControl SetGeneralDisplacement (bool in_state, int in_buckets)
 
HPS.DrawingAttributeControl SetGeneralDisplacement (bool in_state)
 
HPS.DrawingAttributeControl SetGeneralDisplacement (int in_buckets)
 
HPS.DrawingAttributeControl SetOverlay (HPS.Drawing.Overlay in_overlay)
 
HPS.DrawingAttributeControl SetOverrideInternalColor (HPS.VisibilityKit in_kit)
 
HPS.DrawingAttributeControl SetPolygonHandedness (HPS.Drawing.Handedness in_handedness)
 
HPS.DrawingAttributeControl SetVertexDecimation (float in_zero_to_one)
 
HPS.DrawingAttributeControl SetVertexDisplacement (bool in_state, int in_buckets)
 
HPS.DrawingAttributeControl SetVertexDisplacement (bool in_state)
 
HPS.DrawingAttributeControl SetVertexDisplacement (int in_buckets)
 
HPS.DrawingAttributeControl SetVertexRandomization (bool in_state)
 
HPS.DrawingAttributeControl SetWorldHandedness (HPS.Drawing.Handedness in_handedness)
 
bool ShowClipRegion (out HPS.Point[][] out_loops, out HPS.Drawing.ClipSpace out_space, out HPS.Drawing.ClipOperation out_operation)
 
bool ShowDeferral (out int out_defer_batch)
 
bool ShowDepthRange (out float out_x, out float out_y)
 
bool ShowFaceDisplacement (out bool out_state, out int out_buckets)
 
bool ShowGeneralDisplacement (out bool out_state, out int out_buckets)
 
bool ShowOverlay (out HPS.Drawing.Overlay out_overlay)
 
bool ShowOverrideInternalColor (out HPS.VisibilityKit out_kit)
 
bool ShowPolygonHandedness (out HPS.Drawing.Handedness out_handedness)
 
bool ShowVertexDecimation (out float out_zero_to_one)
 
bool ShowVertexDisplacement (out bool out_state, out int out_buckets)
 
bool ShowVertexRandomization (out bool out_state)
 
bool ShowWorldHandedness (out HPS.Drawing.Handedness out_handedness)
 
override HPS.Type Type ()
 
HPS.DrawingAttributeControl UnsetClipRegion ()
 
HPS.DrawingAttributeControl UnsetDeferral ()
 
HPS.DrawingAttributeControl UnsetDepthRange ()
 
HPS.DrawingAttributeControl UnsetEverything ()
 
HPS.DrawingAttributeControl UnsetFaceDisplacement ()
 
HPS.DrawingAttributeControl UnsetGeneralDisplacement ()
 
HPS.DrawingAttributeControl UnsetOverlay ()
 
HPS.DrawingAttributeControl UnsetOverrideInternalColor ()
 
HPS.DrawingAttributeControl UnsetPolygonHandedness ()
 
HPS.DrawingAttributeControl UnsetVertexDecimation ()
 
HPS.DrawingAttributeControl UnsetVertexDisplacement ()
 
HPS.DrawingAttributeControl UnsetVertexRandomization ()
 
HPS.DrawingAttributeControl UnsetWorldHandedness ()
 
- Public Member Functions inherited from HPS.Control
 Control (HPS.Control in_that)
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
 Object (HPS.Object that)
 
virtual void Reset ()
 

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
 

Detailed Description

The HPS.DrawingAttributeControl class is a smart pointer that is tied to a database object. This object is used to manipulate various high-level settings, such as depth range, priority, and displacement. Note that some of the attributes available through this control should only be set for an entire window, while others can be set at multiple places.

Global attributes:

World handedness, polygon handedness, priority, depth range

Segment-level attributes:

overlay, deferral, face displacement, general displacement, clip regions

This table lists default values for the various segment attributes accessible from HPS.DrawingAttributeControl.

Constructor & Destructor Documentation

◆ DrawingAttributeControl() [1/2]

HPS.DrawingAttributeControl.DrawingAttributeControl ( HPS.SegmentKey  in_seg)
inline

Initializes a control tied to the segment in_seg.

◆ DrawingAttributeControl() [2/2]

HPS.DrawingAttributeControl.DrawingAttributeControl ( HPS.DrawingAttributeControl  in_that)
inline

Initializes a control tied to the same object as in_that.

Member Function Documentation

◆ ObjectType()

override HPS.Type HPS.DrawingAttributeControl.ObjectType ( )
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.Control.

◆ SetClipRegion() [1/6]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetClipRegion ( HPS.Point []  in_points,
HPS.Drawing.ClipSpace  in_space,
HPS.Drawing.ClipOperation  in_operation 
)
inline

Specifies a clip region.

Parameters
in_pointsAn array of points specifying the shape of the clip region.
in_spaceThe space coordinated in which the points are specified.
in_operationThe operation performed by this clip region.
Returns
A reference to this object.

◆ SetClipRegion() [2/6]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetClipRegion ( HPS.Point []  in_points,
HPS.Drawing.ClipSpace  in_space 
)
inline

Specifies a clip region.

Parameters
in_pointsAn array of points specifying the shape of the clip region.
in_spaceThe space coordinated in which the points are specified.
Returns
A reference to this object.

◆ SetClipRegion() [3/6]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetClipRegion ( HPS.Point []  in_points)
inline

Specifies a clip region.

Parameters
in_pointsAn array of points specifying the shape of the clip region.
Returns
A reference to this object.

◆ SetClipRegion() [4/6]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetClipRegion ( HPS.Point  in_loops[][],
HPS.Drawing.ClipSpace  in_space,
HPS.Drawing.ClipOperation  in_operation 
)
inline

Sets a complex polygonal clip region defined by the XOR of a series of loops.

Parameters
in_loopsAn array of loops describing clip regions.
in_spaceThe coordinate space in which in_loops are specified.
in_operationThe operation performed by the clip region.
Returns
A reference to this object.

◆ SetClipRegion() [5/6]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetClipRegion ( HPS.Point  in_loops[][],
HPS.Drawing.ClipSpace  in_space 
)
inline

Sets a complex polygonal clip region defined by the XOR of a series of loops.

Parameters
in_loopsAn array of loops describing clip regions.
in_spaceThe coordinate space in which in_loops are specified.
Returns
A reference to this object.

◆ SetClipRegion() [6/6]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetClipRegion ( HPS.Point  in_loops[][])
inline

Sets a complex polygonal clip region defined by the XOR of a series of loops.

Parameters
in_loopsAn array of loops describing clip regions.
Returns
A reference to this object.

◆ SetDeferral()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetDeferral ( int  in_deferral)
inline

Specifies a drawing order for a segment during timed updates. Segments with a lower deferral value will be drawn before segments with a higher value. This attribute does not inherit like most attributes. Segments have a default value of 0.

Parameters
in_deferralA drawing priority, with larger values drawing later than usual. Should be non-negative.
Returns
A reference to this object.

◆ SetDepthRange()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetDepthRange ( float  in_near,
float  in_far 
)
inline

Compresses effective Z values into a subset of what they would otherwise have been. This allows certain pieces of the scene to be drawn on top at all times without additional sub-windows. Values of (0,0) will force all geometry into the frontmost bucket, but will have the drawback that it will cause z-fighting amongst the geometry that shares that setting. To get such pieces of geometry to resolve reasonably well against each other, a range of (0,0.1) should perform reasonably well. Depth range settings are not cumulative, and have no effect when the rendering algorithm is Priority, or is not set. The default is (0,1)

Parameters
in_nearThe portion of the depth range closest to the camera. Valid range is [0,1] with in_near <= in_far.
in_farThe portion of the depth range furthest to the camera. Valid range is [0,1] with in_near <= in_far.
Returns
A reference to this object.

◆ SetFaceDisplacement() [1/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetFaceDisplacement ( bool  in_state,
int  in_buckets 
)
inline

Specifies a number of Z-buffer units that rendered faces should be pushed away from the camera. This can be used to reduce edge stitching by ensuring that coincident edges lay on top of the faces. Negative face displacements will push faces toward the camera.

Parameters
in_stateWhether face displacement should be used.
in_bucketsThe number of units to move faces in the Z-Buffer. The units are 1/2^24 in the normalized depth range [0,1]. Negative values will move faces toward the camera, positive values away from the camera.
Returns
A reference to this object.

◆ SetFaceDisplacement() [2/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetFaceDisplacement ( bool  in_state)
inline

Specifies a number of Z-buffer units that rendered faces should be pushed away from the camera. This can be used to reduce edge stitching by ensuring that coincident edges lay on top of the faces. Negative face displacements will push faces toward the camera.

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

◆ SetFaceDisplacement() [3/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetFaceDisplacement ( int  in_buckets)
inline

Specifies a number of Z-buffer units that rendered faces should be pushed away from the camera. The state is implicitly on.

Parameters
in_bucketsThe number of units to move faces in the Z-Buffer. The units are 1/2^24 in the normalized depth range [0,1]. Negative values will move faces toward the camera, positive values away from the camera.
Returns
A reference to this object.
See also
SetFaceDisplacement(bool in_state, int in_buckets)

◆ SetGeneralDisplacement() [1/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetGeneralDisplacement ( bool  in_state,
int  in_buckets 
)
inline

Specifies a number of Z-buffer units that all geometry should be pushed away from the camera. This can be used to ensure that certain geometry is drawn on top of or behind the rest of the scene. Negative general displacements will push geometry toward the camera.

Parameters
in_stateWhether general displacement should be used.
in_bucketsThe number of units to move rendered geometry in the Z-Buffer. The units are 1/2^24 in the normalized depth range [0,1]. Negative values will move geometry toward the camera, positive values away from the camera.
Returns
A reference to this object.

◆ SetGeneralDisplacement() [2/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetGeneralDisplacement ( bool  in_state)
inline

Specifies a number of Z-buffer units that all geometry should be pushed away from the camera. This can be used to ensure that certain geometry is drawn on top of or behind the rest of the scene. Negative general displacements will push geometry toward the camera.

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

◆ SetGeneralDisplacement() [3/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetGeneralDisplacement ( int  in_buckets)
inline

Specifies a number of Z-buffer units that all geometry should be pushed away from the camera. The state is implicitly on.

Parameters
in_bucketsThe number of units to move rendered geometry in the Z-Buffer. The units are 1/2^24 in the normalized depth range [0,1]. Negative values will move geometry toward the camera, positive values away from the camera.
Returns
A reference to this object.
See also
SetGeneralDisplacement(bool in_state, int in_buckets)

◆ SetOverlay()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetOverlay ( HPS.Drawing.Overlay  in_overlay)
inline

Allows moving, editing, or deleting to take place in a segment without triggering a full-screen redraw.

Parameters
in_overlayThe type of overlay, if any, to be used.
Returns
A reference to this object.

◆ SetOverrideInternalColor()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetOverrideInternalColor ( HPS.VisibilityKit  in_kit)
inline

Specifies internal color of line styles, glyphs and similar items should be overridden.

Parameters
in_kitWhich types should internal colors should be overridden.
Returns
A reference to this object.

◆ SetPolygonHandedness()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetPolygonHandedness ( HPS.Drawing.Handedness  in_handedness)
inline

In order to do a back face culling, there must be some definition of a polygon's "front" and "back". This orientation is determined by the order in which the polygon's vertices were originally defined and the polygon handedness setting (not the world handedness). If you wrap the fingers of the chosen hand along the vertices of the polygon, with your wrist at the first vertex and your fingertips at the last, then extend your thumb perpendicular to your fingers, your thumb is extending out of the front face of the polygon.

Parameters
in_handednessThe handedness to be used for geometry.
Returns
A reference to this object.
See also
SetWorldHandedness()
CullingKit.SetBackFace()

◆ SetVertexDecimation()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetVertexDecimation ( float  in_zero_to_one)
inline

Specifies an amount of vertices to draw 1 draws them all.

Parameters
in_zero_to_oneAn amount, between [0,1], of vertices to draw.
Returns
A reference to this object.

◆ SetVertexDisplacement() [1/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetVertexDisplacement ( bool  in_state,
int  in_buckets 
)
inline

Specifies a number of Z-buffer units that vertices should be pushed away from the camera. This can be used to ensure that vertices are drawn on top of or behind other geometry. Negative general displacements will push vertices toward the camera.

Parameters
in_stateWhether vertex displacement should be used.
in_bucketsThe number of units to move vertices in the Z-Buffer. The units are 1/2^24 in the normalized depth range [0,1]. Negative values will move vertices toward the camera, positive values away from the camera.
Returns
A reference to this object.

◆ SetVertexDisplacement() [2/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetVertexDisplacement ( bool  in_state)
inline

Specifies a number of Z-buffer units that vertices should be pushed away from the camera. This can be used to ensure that vertices are drawn on top of or behind other geometry. Negative general displacements will push vertices toward the camera.

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

◆ SetVertexDisplacement() [3/3]

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetVertexDisplacement ( int  in_buckets)
inline

Specifies a number of Z-buffer units that vertices should be pushed away from the camera. The state is implicitly on.

Parameters
in_bucketsThe number of units to move vertices in the Z-Buffer. The units are 1/2^24 in the normalized depth range [0,1]. Negative values will move vertices toward the camera, positive values away from the camera.
Returns
A reference to this object.

◆ SetVertexRandomization()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetVertexRandomization ( bool  in_state)
inline

Specifies vertices should be drawn in a random order.

Parameters
in_stateIf true the vertices for a point cloud will be randomized.
Returns
A reference to this object.

◆ SetWorldHandedness()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.SetWorldHandedness ( HPS.Drawing.Handedness  in_handedness)
inline

The world handedness determines the orientation of the Z-axis in the Cartesian coordinate system. If you curl the fingers of your appropriate hand from the X-axis towards the Y-axis, your thumb will point in the direction of the Z-axis.

Parameters
in_handednessThe handedness of the underlying coordinate system.
Returns
A reference to this object.
See also
SetPolygonHandedness()

◆ ShowClipRegion()

bool HPS.DrawingAttributeControl.ShowClipRegion ( out HPS.Point  out_loops[][],
out HPS.Drawing.ClipSpace  out_space,
out HPS.Drawing.ClipOperation  out_operation 
)
inline

Shows the clip region setting.

Parameters
out_loopsAn array of loops specifying the shape of the clip region.
out_spaceThe coordinate space the points are specified in.
out_operationThe operation performed by this clip region.
Returns
true if the setting is valid, false otherwise.

◆ ShowDeferral()

bool HPS.DrawingAttributeControl.ShowDeferral ( out int  out_defer_batch)
inline

Shows the deferral setting.

Parameters
out_defer_batchA drawing priority, with negative values drawing earlier than usual and positive values drawing later than usual.
Returns
true if the setting is valid, false otherwise.

◆ ShowDepthRange()

bool HPS.DrawingAttributeControl.ShowDepthRange ( out float  out_x,
out float  out_y 
)
inline

Shows the depth range setting.

Returns
true if the setting is valid, false otherwise.

◆ ShowFaceDisplacement()

bool HPS.DrawingAttributeControl.ShowFaceDisplacement ( out bool  out_state,
out int  out_buckets 
)
inline

Shows the face displacement setting.

Parameters
out_stateWhether face displacement will be used.
out_bucketsThe distance to move rendered faces away from the camera.
Returns
true if the setting is valid, false otherwise.

◆ ShowGeneralDisplacement()

bool HPS.DrawingAttributeControl.ShowGeneralDisplacement ( out bool  out_state,
out int  out_buckets 
)
inline

Shows the general displacement setting.

Parameters
out_stateWhether general displacement will be used.
out_bucketsThe distance to move rendered geometry away from the camera.
Returns
true if the setting is valid, false otherwise.

◆ ShowOverlay()

bool HPS.DrawingAttributeControl.ShowOverlay ( out HPS.Drawing.Overlay  out_overlay)
inline

Shows the overlay setting.

Parameters
out_overlayThe type of overlay, if any, used.
Returns
true if the setting is valid, false otherwise.

◆ ShowOverrideInternalColor()

bool HPS.DrawingAttributeControl.ShowOverrideInternalColor ( out HPS.VisibilityKit  out_kit)
inline

Shows the override internal color setting.

Parameters
out_kitWhich override internal color types will be used.
Returns
true if the setting is valid, false otherwise.

◆ ShowPolygonHandedness()

bool HPS.DrawingAttributeControl.ShowPolygonHandedness ( out HPS.Drawing.Handedness  out_handedness)
inline

Shows the polygon handedness.

Parameters
out_handednessThe handedness used for geometry.
Returns
true if the setting is valid, false otherwise.

◆ ShowVertexDecimation()

bool HPS.DrawingAttributeControl.ShowVertexDecimation ( out float  out_zero_to_one)
inline

Shows the vertex decimation setting.

Parameters
out_zero_to_oneThe value set for vertex decimation.
Returns
true if the setting is valid, false otherwise.

◆ ShowVertexDisplacement()

bool HPS.DrawingAttributeControl.ShowVertexDisplacement ( out bool  out_state,
out int  out_buckets 
)
inline

Shows the vertex displacement setting.

Parameters
out_stateWhether vertex displacement will be used.
out_bucketsThe distance to move vertices away from the camera.
Returns
true if the setting is valid, false otherwise.

◆ ShowVertexRandomization()

bool HPS.DrawingAttributeControl.ShowVertexRandomization ( out bool  out_state)
inline

Shows the vertex randomization setting.

Parameters
out_stateWhether vertex randomization will be used.
Returns
true if the setting is valid, false otherwise.

◆ ShowWorldHandedness()

bool HPS.DrawingAttributeControl.ShowWorldHandedness ( out HPS.Drawing.Handedness  out_handedness)
inline

Shows the world handedness.

Parameters
out_handednessThe handedness of the underlying coordinate system.
Returns
true if the setting is valid, false otherwise.

◆ Type()

override HPS.Type HPS.DrawingAttributeControl.Type ( )
inlinevirtual

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.

Warning
This function must synchronize the database (by waiting for all pending database operations to complete) in order to know the type status of this object with certainty. Therefore this function can negatively impact performance. You should vigorously avoid using this function in high-traffic or peformance-critical areas of your code.
Returns
The true type of the object in question.

Reimplemented from HPS.Control.

◆ UnsetClipRegion()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetClipRegion ( )
inline

Removes a clip region setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetDeferral()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetDeferral ( )
inline

Removes a deferral setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetDepthRange()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetDepthRange ( )
inline

Removes a depth range setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetEverything()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetEverything ( )
inline

Removes all settings from this object. If the control is attached to a WindowKey this function restores the default settings of this control as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetFaceDisplacement()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetFaceDisplacement ( )
inline

Removes a face displacement setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetGeneralDisplacement()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetGeneralDisplacement ( )
inline

Removes a general displacement setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetOverlay()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetOverlay ( )
inline

Removes an overlay setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetOverrideInternalColor()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetOverrideInternalColor ( )
inline

Removes an override internal color setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetPolygonHandedness()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetPolygonHandedness ( )
inline

Removes a polygon handedness setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetVertexDecimation()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetVertexDecimation ( )
inline

Removes a vertex decimation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetVertexDisplacement()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetVertexDisplacement ( )
inline

Removes a vertex displacement setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetVertexRandomization()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetVertexRandomization ( )
inline

Removes a vertex randomization setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

◆ UnsetWorldHandedness()

HPS.DrawingAttributeControl HPS.DrawingAttributeControl.UnsetWorldHandedness ( )
inline

Removes a world handedness setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by DrawingAttributeKit.GetDefault().

Returns
A reference to this object.

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