IGH_ModelData
ReferencesNothing matches.
[EditorBrowsable(EditorBrowsableState.Never)]
public interface IGH_ModelData : IGH_Goo, IEquatable<IGH_ModelData>, IComparable<IGH_ModelData>
Properties
IsValidWhyNot
Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
Methods
Remarks: If False, the contents of this instance are not to be trusted.
Parameters:
| source (object) | Reference to source of cast. |
Returns: True on success, false on failure.
Remarks: If false, the target instance contents are not guaranteed to be valid.
Parameters:
| target (ref T) | Pointer to target of cast. |
Returns: True on success, false on failure.
Remarks: Classes which implement this interface should also provide type specific Duplicate methods
EmitProxy
Create a new proxy for this instance. Return Null if this class does not support proxies.
Read
This method is called whenever the instance is required to deserialize itself.
Parameters:
| reader (GH_IReader) | Reader object to deserialize from. |
Returns: True on success, false on failure.
ScriptVariable
This function will be called when the local IGH_Goo instance disapears into a user Script. This would be an excellent place to cast your IGH_Goo type to a simple data type.
Returns: The object that represents this IGH_Goo instance in a script.
Write
This method is called whenever the instance is required to serialize itself.
Parameters:
| writer (GH_IWriter) | Writer object to serialize with. |
Returns: True on success, false on failure.