BITFALL/Assets/Plugins/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain .../Runtime/Scripts/PaintTool/FoliagePainters/GFoliagePainterArgs.cs

28 lines
1.0 KiB
C#
Raw Normal View History

2024-03-05 17:34:41 +08:00
#if GRIFFIN
2023-12-30 17:37:48 +08:00
using System.Collections.Generic;
using UnityEngine;
namespace Pinwheel.Griffin.PaintTool
{
public struct GFoliagePainterArgs
{
2024-03-05 17:34:41 +08:00
public Vector3 HitPoint { get; set; }
2023-12-30 17:37:48 +08:00
public Vector3[] WorldPointCorners { get; internal set; }
public Texture2D Mask { get; set; }
public bool EnableTerrainMask { get; set; }
public float Radius { get; internal set; }
public float Rotation { get; internal set; }
public int Density { get; internal set; }
public float EraseRatio { get; internal set; }
public float ScaleStrength { get; internal set; }
public List<int> TreeIndices { get; set; }
public List<int> GrassIndices { get; set; }
public string CustomArgs { get; internal set; }
public GPainterMouseEventType MouseEventType { get; set; }
public GPainterActionType ActionType { get; set; }
public GSpawnFilter[] Filters { get; internal set; }
public bool ShouldCommitNow { get; set; }
}
}
2024-03-05 17:34:41 +08:00
#endif