Struct Scale
This is an optional component that specifies a uniform scale transform. It is optional. If it is not added to the entity, the unit scale (1,1,1) is assumed.
Namespace: Unity.Tiny.Core2D
Syntax
public struct Scale : IComponentData
Constructors
Scale(Single)
Declaration
public Scale(float s = 1F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | s |
Fields
Value
Declaration
public float Value
Field Value
Type | Description |
---|---|
System.Single |
Properties
Default
Declaration
public static Scale Default { get; }
Property Value
Type | Description |
---|---|
Scale |