Struct SimpleMaterial
Namespace: Unity.Tiny.Rendering
Syntax
public struct SimpleMaterial : IComponentData, IEquatable<SimpleMaterial>
Fields
blend
Declaration
public BlendOp blend
Field Value
Type | Description |
---|---|
BlendOp |
constAlbedo
Declaration
public float3 constAlbedo
Field Value
Type | Description |
---|---|
float3 |
constOpacity
Declaration
public float constOpacity
Field Value
Type | Description |
---|---|
Single |
offset
Declaration
public float2 offset
Field Value
Type | Description |
---|---|
float2 |
scale
Declaration
public float2 scale
Field Value
Type | Description |
---|---|
float2 |
texAlbedo
Declaration
public Entity texAlbedo
Field Value
Type | Description |
---|---|
Entity |
texOpacity
Declaration
public Entity texOpacity
Field Value
Type | Description |
---|---|
Entity |
transparent
Declaration
public bool transparent
Field Value
Type | Description |
---|---|
Boolean |
twoSided
Declaration
public bool twoSided
Field Value
Type | Description |
---|---|
Boolean |
Methods
Equals(SimpleMaterial)
Declaration
public bool Equals(SimpleMaterial other)
Parameters
Type | Name | Description |
---|---|---|
SimpleMaterial | other |
Returns
Type | Description |
---|---|
Boolean |