using System; using UnityEngine; namespace UnityEditor.VFX { [VFXInfo(type = typeof(Matrix4x4))] class VFXSlotMatrix4x4 : VFXSlot { protected override bool CanConvertFrom(Type type) { return base.CanConvertFrom(type) || type == typeof(Transform); } public override VFXValue DefaultExpression(VFXValue.Mode mode) { return new VFXValue(Matrix4x4.identity, mode); } } }