|
override void | deleteCptr () |
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The HPS.EdgeAttributeKit class is a user space object, useful for carrying a group attribute settings. Calling HPS.EdgeAttributeKit.GetDefault() will return a kit with values found in this table.
◆ EdgeAttributeKit() [1/2]
HPS.EdgeAttributeKit.EdgeAttributeKit |
( |
| ) |
|
|
inline |
Initializes an empty kit.
◆ EdgeAttributeKit() [2/2]
The copy constructor creates a new EdgeAttributeKit object that contains the same settings as the source object.
- Parameters
-
in_kit | The source object to copy. |
◆ Empty()
override bool HPS.EdgeAttributeKit.Empty |
( |
| ) |
|
|
inlinevirtual |
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()
Check if the source EdgeAttributeKit is equivalent to this object.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ GetDefault()
Creates a EdgeAttributeKit 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 EdgeAttributeKit with the default settings.
◆ ObjectType()
override HPS.Type HPS.EdgeAttributeKit.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.Object.
◆ Set()
Copies all settings from the source EdgeAttributeKit into this object.
- Parameters
-
◆ SetHardAngle()
Sets the angle between adjacent faces necessary for the edge between them to be considered a hard edge.
- Parameters
-
in_angle | The angle, in degrees, between the adjacent faces necessary for a hard edge. |
- Returns
- A reference to this object.
◆ SetPattern()
Specifies the pattern of edges.
- Returns
- A reference to this object.
- See also
- Programming Guide: Line Patterns
◆ SetWeight() [1/2]
Sets the weight of lines drawn in edge rendering.
- Parameters
-
in_weight | The weight value for edges. |
in_units | The units applied to in_weight. |
- Returns
- A reference to this object.
◆ SetWeight() [2/2]
Sets the weight of lines drawn in edge rendering.
- Parameters
-
in_weight | The weight value for edges. |
- Returns
- A reference to this object.
◆ Show()
◆ ShowHardAngle()
bool HPS.EdgeAttributeKit.ShowHardAngle |
( |
out float |
out_angle | ) |
|
|
inline |
Shows the weight of lines drawn in edge rendering.
- Parameters
-
out_angle | The angle, in degrees, between the adjacent faces necessary for a hard edge. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowPattern()
bool HPS.EdgeAttributeKit.ShowPattern |
( |
out string |
out_pattern_name | ) |
|
|
inline |
Shows the line pattern of the edges.
- Returns
- true if the setting is valid, false otherwise.
◆ ShowWeight()
bool HPS.EdgeAttributeKit.ShowWeight |
( |
out float |
out_weight, |
|
|
out HPS.Edge.SizeUnits |
out_units |
|
) |
| |
|
inline |
Shows the weight of lines drawn in edge rendering.
- Parameters
-
out_weight | The weight value for edges. |
out_units | The units applied to in_weight. |
- Returns
- true if the setting is valid, false otherwise.
◆ UnsetEverything()
Removes all settings from this object.
- Returns
- A reference to this object.
◆ UnsetHardAngle()
Removes the hard edge angle setting.
- Returns
- A reference to this object.
◆ UnsetPattern()
Removes the line pattern setting for edges.
- Returns
- A reference to this object.
◆ UnsetWeight()
Removes the weight setting for edges.
- Returns
- A reference to this object.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.EdgeAttributeKit.cs