Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
f6b8e5137This file is pinned to the selected release. Download the original to open it in your design tool.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Leap.Unity.Apps.Paint4.Drawing {
public class StrokePoint {
public Vector3 position;
public Quaternion rotation;
public Vector3 scale;
public float deltaTime;
public Color color;
public float pressure;
public Object customData;
public Vector3 Normal { get { return this.rotation * Vector3.up; } }
public Vector3 Tangent { get { return this.rotation * Vector3.forward; } }
public Vector3 Binormal { get { return this.rotation * Vector3.right; } }
}
}