pc.ScopeSpace
The scope for variables and subspaces.
Summary
Properties
| name | The scope name. |
Methods
| getSubSpace | Get (or create, if it doesn't already exist) a subspace in the scope. |
| resolve | Get (or create, if it doesn't already exist) a variable in the scope. |
Details
Constructor
Properties
Methods
getSubSpace(name)
Get (or create, if it doesn't already exist) a subspace in the scope.
Parameters
| name | string | The subspace name. |
Returns
pc.ScopeSpaceThe subspace instance.
resolve(name)
Get (or create, if it doesn't already exist) a variable in the scope.
Parameters
| name | string | The variable name. |
Returns
pc.ScopeIdThe variable instance.