Interface IEntityUniformComponent<TUniform, TArg>
- Namespace
- Frent.Components
- Assembly
- Frent.dll
Indicates a component should be updated with itself as an argument and a uniform of type TUniform
, along with the specified components
public interface IEntityUniformComponent<TUniform, TArg> : IComponentBase
Type Parameters
TUniform
TArg
Remarks
Components should only implement one "Update" method.
Methods
Update(Entity, TUniform, ref TArg)
Updates this component
void Update(Entity self, TUniform uniform, ref TArg arg)
Parameters
self
Entityuniform
TUniformarg
TArg