SelfDrawable¶
Overview¶
A drawable that will paint a single instance.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class SelfDrawable¶
Constructor¶
new SelfDrawable( renderer, instance )¶
Instance Methods¶
initialize( renderer, instance )¶
@param {number} renderer @param {Instance} instance @returns {SelfDrawable}
dispose()¶
Releases references @public @override
updateSelfVisibility()¶
toDetailedString()¶
Returns a more-informative string form of this object. @public @override
@returns {string}
Source Code¶
See the source for SelfDrawable.js in the scenery repository.