API Reference

Class List

pc.ScopeSpace

The scope for variables and subspaces.

Summary

Properties

nameThe scope name.

Methods

getSubSpaceGet (or create, if it doesn't already exist) a subspace in the scope.
resolveGet (or create, if it doesn't already exist) a variable in the scope.

Details

Constructor

ScopeSpace(name)

Parameters

nameStringThe scope name.

Properties

Stringname

The scope name.

Methods

getSubSpace(name)

Get (or create, if it doesn't already exist) a subspace in the scope.

Parameters

nameStringThe subspace name.

Returns

pc.ScopeSpace The subspace instance.

resolve(name)

Get (or create, if it doesn't already exist) a variable in the scope.

Parameters

nameStringThe variable name.

Returns

pc.ScopeId The variable instance.