Struct RenderFilterSettings
Represents settings that control when to render a given entity.
Namespace: Unity.Entities.Graphics
Assembly: solution.dll
Syntax
public struct RenderFilterSettings : ISharedComponentData, IQueryTypeParameter
Remarks
For example, you can set the layermask of the entity and also set whether to render an entity in shadow maps or motion passes.
Fields
Name | Description |
---|---|
Layer | The LayerMask index. |
Motion |
Specifies what kinds of motion vectors to generate for the entity, if any. |
Receive |
Indicates whether to cast shadows onto the entity. |
Rendering |
The rendering layer the entity is part of. |
Shadow |
Specifies how the entity should cast shadows. |
Static |
Indicates whether the entity is a static shadow caster. |
Properties
Name | Description |
---|---|
Default | Returns a new default instance of RenderFilterSettings. |
Is |
Indicates whether the motion mode for the current pass is not camera. |
Methods
Name | Description |
---|---|
Equals(object) | Indicates whether the current instance is equal to the specified object. |
Equals(Render |
Indicates whether the current instance is equal to the specified RenderFilterSettings. |
Get |
Calculates the hash code for this object. |