KSP-Conformal-Decals/Source/ConformalDecals/Targets/IProjectionTarget.cs

8 lines
289 B
C#
Raw Normal View History

2021-01-01 05:05:30 +00:00
using UnityEngine;
2022-03-15 04:36:50 +00:00
namespace ConformalDecals.Targets {
2021-01-01 05:05:30 +00:00
public interface IProjectionTarget {
2021-01-01 22:28:30 +00:00
bool Project(Matrix4x4 orthoMatrix, Transform projector, Bounds projectionBounds);
2021-01-01 05:05:30 +00:00
void Render(Material decalMaterial, MaterialPropertyBlock partMPB, Camera camera);
}
}