SphereAttributeControl
-
class
HPS.SphereAttributeControl: HPS.Control The HPS.SphereAttributeControl class is a smart pointer that is tied to a database object. This control gives you access to the tessellation value for spheres. This table lists default values for the various segment attributes accessible from HPS.SphereAttributeControl.
Public Functions
-
override void
Dispose()
-
override HPS.Type
ObjectType() 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).
Return: The declared type of the object in question, which may differ from the true, underlying type.
-
HPS.SphereAttributeControl
SetTessellation(ulong in_facets) Sets the number of faces that should be generated around the equator of spheres.
See also
Sphere tessellation default value
Param in_facets: the number of faces that should be generated around the equator of spheres. Return: A reference to this object.
-
bool
ShowTessellation(out ulong out_facets) Shows the number of faces that should be generated around the equator of spheres.
Param out_facets: The number of faces that should be generated around the equator of spheres. Return: true if the setting is valid, false otherwise.
-
SphereAttributeControl(HPS.SegmentKey in_seg) Initializes a control tied to the segment in_seg.
-
SphereAttributeControl(HPS.SphereAttributeControl in_that) Initializes a control tied to the same object as in_that.
-
HPS.SphereAttributeControl
UnsetEverything() 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 SphereAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.SphereAttributeControl
UnsetTessellation() Removes the sphere tessellation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by SphereAttributeKit.GetDefault().
Return: A reference to this object.
-
override void