Struct NonUniformScale
This is an optional component that specifies a three-axis 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 NonUniformScale : IComponentData
Constructors
NonUniformScale(Single)
Declaration
public NonUniformScale(float s = 1F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | s |
Fields
Value
Declaration
public float3 Value
Field Value
Type | Description |
---|---|
float3 |
Properties
Default
Declaration
public static NonUniformScale Default { get; }
Property Value
Type | Description |
---|---|
NonUniformScale |