GH_GooT Class |
Namespace: Grasshopper.Kernel.Types
The GH_GooT type exposes the following members.
| Name | Description | |
|---|---|---|
| GH_GooT |
Blank constructor, m_value will be set to default (null for reference types, zeroes for value types)
| |
| GH_GooT(T) |
Data constructor, m_value will be set to internal_data.
| |
| GH_GooT(GH_GooT) |
Copy constructor, copies the data from another GH_Goo(Of T) instance.
Reference types will not be duplicated.
|
| Name | Description | |
|---|---|---|
| IsValid |
Gets a value indicating whether or not the current value is valid.
| |
| IsValidWhyNot |
Gets a string describing the state of "invalidness".
If the instance is valid, then this property should return
Nothing or String.Empty.
| |
| TypeDescription |
Gets a description of the type of the implementation.
| |
| TypeName |
Gets the name of the type of the implementation.
| |
| Value |
Gets or sets the internal data.
|
| Name | Description | |
|---|---|---|
| CastFrom |
Attempt a cast from generic data.
| |
| CastToQ |
Attempt a cast to type Q.
| |
| Duplicate |
Make a complete duplicate of this instance. No shallow copies.
| |
| EmitProxy |
Create a new proxy for this instance. Return Null if this class does not support proxies.
| |
| Read |
Default behaviour is to return True.
| |
| 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.
| |
| ToString |
Creates a string description of the current instance value.
(Overrides ObjectToString.) | |
| Write |
Default behaviour is to return True.
|