Skip to content

Field

Public Class

Generic data fields used to add publicly accessible properties to RenderContent.FieldDictionary. These should be created by calling a FieldDictaionary.Add() method on a Render content object. These are allocated after the RenderContent object’s C++ object is created and added to the underlying C++ objects content dictionary, who ever allocates a field is responsible for deleting it so these objects clean up the C++ pointers when they are disposed of.

Inheritance Hierarchy

System.Object
Rhino.Render.Fields.Field

Namespace: Rhino.Render.Fields

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public abstract class Field

The Field type exposes the following members.

Constructors

Name

Description


Protected Method

Initializes a new instance of the Field class


Protected Method

Initializes a new instance of the Field class


Protected Method

Obsolete.

Initializes a new instance of the Field class


Protected Method

Initializes a new instance of the Field class


Protected Method

Initializes a new instance of the Field class


Properties

Name

Description


Public Property

When fields are used by the automatic UI, they can be hidden from it by calling this method.


Public Property

Field name value string passed to the constructor.


Public Property

Gets or sets an object that contains data to associate with the field.


Public Property

Set Max value for Texture amount


Public Property

Set Min value for Texture amount


Public Property

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.


Public Property

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

Name

Description


Protected Method

Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Parametrized version of GetValue calling appropriate ValueAs* methods.


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Protected Method

Return field value as a bool.


Protected Method

Return field as a byte array.


Protected Method

Return field as a Rhino.Display.Color4f color value.


Protected Method

Return field as a DateTime value.


Protected Method

Return field value as a double precision number.


Protected Method

Return field value as floating point number.


Protected Method

Return field value as Guid.


Protected Method

Return field value as integer.


Public Method

Protected Method

Return field as a Rhino.Geometry.Point2d color value.


Protected Method

Return field as a Rhino.Geometry.Point3d color value.


Protected Method

Return field as a Rhino.Geometry.Point4d color value.


Protected Method

Get field value as a string.


Protected Method

Return field as a Rhino.Geometry.Transform color value.


Protected Method

Return field as a Rhino.Geometry.Vector2d color value.


Protected Method

Return field as a Rhino.Geometry.Vector3d color value.


Inheritance Hierarchy

System.Object
Rhino.Render.Fields.Field
Rhino.Render.Fields.BoolField
Rhino.Render.Fields.ByteArrayField
Rhino.Render.Fields.Color4fField
Rhino.Render.Fields.DateTimeField
Rhino.Render.Fields.DoubleField
Rhino.Render.Fields.FloatField
Rhino.Render.Fields.GuidField
Rhino.Render.Fields.IntField
Rhino.Render.Fields.NullField
Rhino.Render.Fields.Point2dField
Rhino.Render.Fields.Point3dField
Rhino.Render.Fields.Point4dField
Rhino.Render.Fields.StringField
Rhino.Render.Fields.TransformField
Rhino.Render.Fields.Vector2dField
Rhino.Render.Fields.Vector3dField