@chronosai/three-mesh-ui
Version:
a library on top of three.js to help in creating 3D user interfaces
22 lines (12 loc) • 314 B
JavaScript
/**
Job: nothing yet, but adding a isInline parameter to an inline component
Knows: parent dimensions
*/
export default function InlineComponent( Base ) {
return class InlineComponent extends Base {
constructor( options ) {
super( options );
this.isInline = true;
}
};
}