您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
22 行
546 B
22 行
546 B
using System;
|
|
using Unity.Entities;
|
|
using Unity.Mathematics;
|
|
|
|
namespace Unity.Transforms
|
|
{
|
|
/// <summary>
|
|
/// If is not previously added, LocalToWorld is added by system if Rotation +/- Position +/- Scale exist.
|
|
/// Updated by system.
|
|
/// Read-only from external systems.
|
|
/// User responsible for removing.
|
|
/// </summary>
|
|
[Serializable]
|
|
public struct LocalToWorld : IComponentData
|
|
{
|
|
public float4x4 Value;
|
|
}
|
|
|
|
public class LocalToWorldComponent : ComponentDataWrapper<LocalToWorld>
|
|
{
|
|
}
|
|
}
|