SplatModifier
Core.SplatModifier exported from @manycore/aholo-viewer.
Type Parameters
- T extends UniformValues = UniformValues
Hierarchy
- EventDispatcher
- SplatModifier
Constructors
constructor
-
new SplatModifier<T extends UniformValues = UniformValues>(
name: string,
uniformValues: T,
createShaderBlock: SplatModifierShaderBlockFactory<T>,
): SplatModifier<T>Type Parameters
- T extends UniformValues = UniformValues
Returns SplatModifier<T>
Overrides EventDispatcher.constructor
Properties
_ uuid
_uuid: string | null
Inherited from EventDispatcher._uuid
_ listeners
_listeners: Map<symbol, Listener<never>[]>
Inherited from EventDispatcher._listeners
Readonlyname
name: string
Accessors
uuid
-
get uuid(): string
Returns string
Inherited from EventDispatcher.uuid
-
set uuid(uuid: string): void
Parameters
- uuid: string
Returns void
Inherited from EventDispatcher.uuid
Methods
on
once
has
off
emit
-
Active the event and call the registered listener.
Parameters
- type: EventType<never>
Returns void
Inherited from EventDispatcher.emit
clear All Listeners
-
Removes all listeners from listening list.
Returns void
Inherited from EventDispatcher.clearAllListeners
update
-
Parameters
- uniforms: Partial<T>
Returns void
copy
-
Parameters
- uniforms: Partial<T>
Returns SplatModifier<T>
Adds a listener to an event type.