Minor fixes
This commit is contained in:
@@ -76,7 +76,10 @@ namespace FlaxEditor.SceneGraph.Actors
|
||||
base.OnDebugDraw(data);
|
||||
|
||||
if (Actor is UICanvas uiCanvas && uiCanvas.Is3D)
|
||||
{
|
||||
DebugDraw.DrawWireBox(uiCanvas.Bounds, Color.BlueViolet.AlphaMultiplied(0.1f), 0, false);
|
||||
DebugDraw.DrawWireBox(uiCanvas.Bounds, Color.BlueViolet);
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -51,6 +51,7 @@ namespace FlaxEditor.Tools.Terrain
|
||||
[EditorOrder(300), EditorDisplay("Import Data"), DefaultValue(null), Tooltip("Custom heightmap texture to import. Used as a source for height field values (from channel Red).")]
|
||||
public Texture Heightmap;
|
||||
|
||||
[ValueCategory(Utils.ValueCategory.Distance)]
|
||||
[EditorOrder(310), EditorDisplay("Import Data"), DefaultValue(5000.0f), Tooltip("Custom heightmap texture values scale. Applied to adjust the normalized heightmap values into the world units.")]
|
||||
public float HeightmapScale = 5000.0f;
|
||||
|
||||
@@ -60,6 +61,7 @@ namespace FlaxEditor.Tools.Terrain
|
||||
[EditorOrder(330), EditorDisplay("Import Data"), DefaultValue(null), Tooltip("Custom terrain splat map used as a source of the terrain layers weights. Each channel from RGBA is used as an independent layer weight for terrain layers compositing.")]
|
||||
public Texture Splatmap2;
|
||||
|
||||
[ValueCategory(Utils.ValueCategory.Distance)]
|
||||
[EditorOrder(400), EditorDisplay("Transform", "Position"), DefaultValue(typeof(Double3), "0,0,0"), Tooltip("Position of the terrain (importer offset it on the Y axis.)")]
|
||||
public Double3 Position = new Double3(0.0f, 0.0f, 0.0f);
|
||||
|
||||
|
||||
@@ -636,7 +636,9 @@ void ParticleEffect::Draw(RenderContextBatch& renderContextBatch)
|
||||
|
||||
void ParticleEffect::OnDebugDrawSelected()
|
||||
{
|
||||
DEBUG_DRAW_WIRE_BOX(_box, Color::Violet * 0.7f, 0, true);
|
||||
auto color = Color::Violet * 0.7f;
|
||||
DEBUG_DRAW_WIRE_BOX(_box, color, 0, true);
|
||||
DEBUG_DRAW_WIRE_BOX(_box, color.AlphaMultiplied(0.1f), 0, false);
|
||||
|
||||
Actor::OnDebugDrawSelected();
|
||||
}
|
||||
|
||||
@@ -2153,7 +2153,7 @@ namespace Flax.Build.Bindings
|
||||
if (functionInfo.NoProxy)
|
||||
throw new Exception($"Not supported {"NoProxy"} function {functionInfo.Name} inside interface {interfaceInfo.Name}.");
|
||||
if (!functionInfo.IsVirtual)
|
||||
throw new Exception($"Not supported {"non-virtual"} function {functionInfo.Name} inside interface {interfaceInfo.Name}.");
|
||||
continue; //throw new Exception($"Not supported {"non-virtual"} function {functionInfo.Name} inside interface {interfaceInfo.Name}.");
|
||||
if (functionInfo.Access != AccessLevel.Public)
|
||||
throw new Exception($"Not supported {"non-public"} function {functionInfo.Name} inside interface {interfaceInfo.Name}.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user