|
||
BLOCK_NODE(BLOCK_NODE rhs) BLOCK_NODE(string block_path);
BLOCK_NODE rhs; // A SilverSharp.BLOCK_NODE object string block_path; // A System.String object
|
|
|||
Synopsis |
using SilverSharp;
The BLOCK_NODE constructors create and initialize a SilverSharp.BLOCK_NODE object. The first form makes a shallow copy of another SilverSharp.BLOCK_NODE object. The second form creates a SilverSharp.BLOCK_NODE from a path to a block entity.
|
|
||
Parameters |
rhs is a SilverSharp.BLOCK_NODE object from which a shallow copy will be made.
block_path is a path to a SilverScreen block primitive.
|
|
||
Return Value |
BLOCK_NODE returns a SilverSharp.BLOCK_NODE object.
|
|
||
Remarks |
If block_path specifies an invalid path, then the inherited IsEmpty method will return true.
|
|
||
See Also |
|
|
||
Example |
The following code shows how to construct a SilverSharp.BLOCK_NODE object.
|
|