public GVRComponent detachComponent ( long type ) { NativeSceneObject . detachComponent ( getNative ( ) , type ) ; synchronized ( mComponents ) { GVRComponent component = mComponents . remove ( type ) ; if ( component != null ) { component . setOwnerObject ( null ) ; } return component ; } }
Detach the component of the specified type from this scene object .