GH_Integer Class |
Namespace: Grasshopper.Kernel.Types
The GH_Integer type exposes the following members.
| Name | Description | |
|---|---|---|
| GH_Integer |
Blank constructor
| |
| GH_Integer(GH_Integer) | Initializes a new instance of the GH_Integer class | |
| GH_Integer(Int32) | Initializes a new instance of the GH_Integer class |
| Name | Description | |
|---|---|---|
| IsValid |
Gets the validity of this instance. Integers are always valid.
(Overrides GH_GooTIsValid.) | |
| IsValidWhyNot |
Gets a string describing the state of "invalidness".
If the instance is valid, then this property should return
Nothing or String.Empty.
(Inherited from GH_GooT.) | |
| TypeDescription | (Overrides GH_GooTTypeDescription.) | |
| TypeName | (Overrides GH_GooTTypeName.) | |
| Value |
Gets or sets the internal data.
(Inherited from GH_GooT.) |
| Name | Description | |
|---|---|---|
| CastFrom | (Overrides GH_GooTCastFrom(Object).) | |
| CastToQ(Q) |
Attempt a cast to type Q.
(Inherited from GH_GooT.) | |
| CastToT(T) | (Overrides GH_GooTCastToQ(Q).) | |
| Duplicate | (Overrides GH_GooTDuplicate.) | |
| DuplicateInteger | ||
| EmitProxy | (Overrides GH_GooTEmitProxy.) | |
| Read | (Overrides GH_GooTRead(GH_IReader).) | |
| ScriptVariable |
This function will be called when the local IGH_Goo instance
disappears into a user Script. This would be an excellent place to
cast your IGH_Goo type to a simple data type.
(Inherited from GH_GooT.) | |
| ToString | (Overrides GH_GooTToString.) | |
| Write | (Overrides GH_GooTWrite(GH_IWriter).) |