Properties
AutomaticRegisteredProperty
Key
[EditorBrowsable(EditorBrowsableState.Never)]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
public string Key { get; }
obsoleteThe Rhino.Render.Fields.Field.Key property is obsolete, use Name instead.
Field name value string passed to the constructor
Tag
Gets or sets an object that contains data to associate with the field.
Returns: An object that contains information that is associated with the field.
UseTextureAmount
True if 'texture amount' is in use, otherwise false. The 'texture amount' is represented as a numeric stepper in the UI. If true, then the stepper is shown. If false, then the stepper is hidden.
UseTextureOn
True if 'texture on' is in use, otherwise false. In the UI 'texture on' is represented as a checkbox. If true then the checbox is shown. If false then the checkbox is not shown.
Methods
CreateCppPointer
GetValue<T>
public T GetValue<T>()
Parametrized version of GetValue calling appropriate ValueAs* methods.
Returns: Value of type T of the field
Returns: Returns field value as a bool.
Returns: Return field as a byte array.
ValueAsColor4f
Return field as a Rhino.Display.Color4f color value.
Returns: Return field as a Rhino.Display.Color4f color value.
Returns: Return field as a DateTime value.
Returns: Return the field value as a double precision number.
Returns: Return the field value as an floating point number.
Returns: Return the field value as an Guid.
Returns: Return the field value as an integer.
ValueAsPoint2d
Return field as a Rhino.Geometry.Point2d color value.
Returns: Return field as a Rhino.Geometry.Point2d color value.
ValueAsPoint3d
Return field as a Rhino.Geometry.Point3d color value.
Returns: Return field as a Rhino.Geometry.Point3d color value.
ValueAsPoint4d
Return field as a Rhino.Geometry.Point4d color value.
Returns: Return field as a Rhino.Geometry.Point4d color value.
Returns: Returns the field value as a string if possible.
ValueAsTransform
Return field as a Rhino.Geometry.Transform color value.
Returns: Return field as a Rhino.Geometry.Transform color value.
ValueAsVector2d
Return field as a Rhino.Geometry.Vector2d color value.
Returns: Return field as a Rhino.Geometry.Vector2d color value.
ValueAsVector3d
Return field as a Rhino.Geometry.Vector3d color value.
Returns: Return field as a Rhino.Geometry.Vector3d color value.