Remove "visible" motion.

This commit is contained in:
2022-10-29 00:42:17 +08:00
parent ca6d58e7ad
commit 4d0c8f074f
2 changed files with 1 additions and 8 deletions

View File

@@ -262,13 +262,6 @@ namespace Cryville.Crtr.Event {
} }
} }
static readonly MotionName n_visible = new MotionName("visible");
public bool Visible {
get {
return GetRawValue<VecI1>(n_visible).Value % 2 >= 1;
}
}
static readonly MotionName n_sv = new MotionName("sv"); static readonly MotionName n_sv = new MotionName("sv");
static readonly MotionName n_svm = new MotionName("svm"); static readonly MotionName n_svm = new MotionName("svm");
public float ScrollVelocity { public float ScrollVelocity {

View File

@@ -90,7 +90,7 @@ namespace Cryville.Crtr {
{ "normal" , new MotionRegistry(typeof(Vec3)) }, { "normal" , new MotionRegistry(typeof(Vec3)) },
// { "pdirz", new MotionRegistry(typeof(Vec1)) }, // { "pdirz", new MotionRegistry(typeof(Vec1)) },
{ "pt" , new MotionRegistry(typeof(VecPt)) }, { "pt" , new MotionRegistry(typeof(VecPt)) },
{ "visible", new MotionRegistry(typeof(VecI1)) }, // { "visible", new MotionRegistry(typeof(VecI1)) },
{ "sv" , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, 1f)) }, { "sv" , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, 1f)) },
{ "svm" , new MotionRegistry(new Vec1m(1f)) }, { "svm" , new MotionRegistry(new Vec1m(1f)) },
{ "dist" , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, float.PositiveInfinity)) }, { "dist" , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, float.PositiveInfinity)) },