GH_Boolean Class |
Namespace: Grasshopper.Kernel.Types
The GH_Boolean type exposes the following members.
Name | Description | |
---|---|---|
GH_Boolean |
Blank constructor
| |
GH_Boolean(Boolean) | Initializes a new instance of the GH_Boolean class | |
GH_Boolean(GH_Boolean) | Initializes a new instance of the GH_Boolean class |
Name | Description | |
---|---|---|
IsValid |
Gets the validity of this instance. Booleans 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).) | |
CastToT(T) | (Overrides GH_GooTCastToQ(Q).) | |
CastToQ(Q) |
Attempt a cast to type Q.
(Inherited from GH_GooT.) | |
Duplicate | (Overrides GH_GooTDuplicate.) | |
DuplicateBoolean | ||
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).) |