コード例 #1
0
 public override void Initialize()
 {
     if (_options != null)
     {
         _scaledWidth = _options.Width;
     }
     else
     {
         _options = new LineGeometryOptions
         {
             Width = 1.0F
         };
         _scaledWidth = _options.Width;
     }
     _vertexList   = new List <Vector3>();
     _normalList   = new List <Vector3>();
     _triangleList = new List <int>();
     _uvList       = new List <Vector2>();
     _tangentList  = new List <Vector4>();
     NeedToInit    = false;
 }
コード例 #2
0
 public override void SetProperties(ModifierProperties properties)
 {
     _options = (LineGeometryOptions)properties;
     properties.PropertyHasChanged += UpdateModifier;
 }