Addon Rename Update
This commit is contained in:
parent
91ff24488c
commit
7949d675f8
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cj3w71yd4boe"
|
||||
path="res://.godot/imported/rokojori-action-library-splash.png-d751c80b8a8a96ee0087afb0bd27552e.ctex"
|
||||
path="res://.godot/imported/rokojori-action-library-splash.png-4ebf88d03e1c80c3046c56e7c8aca3a2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Assets/Splash/rokojori-action-library-splash.png"
|
||||
dest_files=["res://.godot/imported/rokojori-action-library-splash.png-d751c80b8a8a96ee0087afb0bd27552e.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Assets/Splash/rokojori-action-library-splash.png"
|
||||
dest_files=["res://.godot/imported/rokojori-action-library-splash.png-4ebf88d03e1c80c3046c56e7c8aca3a2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://3o4jrbvgynae"
|
||||
path="res://.godot/imported/RJAction.svg-beb0a31def94ebf28119d2bd3d7976a9.ctex"
|
||||
path="res://.godot/imported/RJAction.svg-988fbeddf1f77ded6809176cb9fee094.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJAction.svg"
|
||||
dest_files=["res://.godot/imported/RJAction.svg-beb0a31def94ebf28119d2bd3d7976a9.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/RJAction.svg"
|
||||
dest_files=["res://.godot/imported/RJAction.svg-988fbeddf1f77ded6809176cb9fee094.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bsgb2qdpdftr4"
|
||||
path="res://.godot/imported/RJActionList.svg-beaf5561f3ed1bddbcfc6914d2361da3.ctex"
|
||||
path="res://.godot/imported/RJActionList.svg-7215a507296376afc809e1085f3d87c9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJActionList.svg"
|
||||
dest_files=["res://.godot/imported/RJActionList.svg-beaf5561f3ed1bddbcfc6914d2361da3.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/RJActionList.svg"
|
||||
dest_files=["res://.godot/imported/RJActionList.svg-7215a507296376afc809e1085f3d87c9.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c6lekbldg584j"
|
||||
path="res://.godot/imported/RJActionSequence.svg-861cbfffa33440d8d759203c534bd591.ctex"
|
||||
path="res://.godot/imported/RJActionSequence.svg-1ce6e79167ccb7f7d3246c49f748a320.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJActionSequence.svg"
|
||||
dest_files=["res://.godot/imported/RJActionSequence.svg-861cbfffa33440d8d759203c534bd591.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/RJActionSequence.svg"
|
||||
dest_files=["res://.godot/imported/RJActionSequence.svg-1ce6e79167ccb7f7d3246c49f748a320.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cg5fnpnwnnlxp"
|
||||
path="res://.godot/imported/RJIcon.svg-0c4b76f83ee560c49146d5d0e2e2cd82.ctex"
|
||||
path="res://.godot/imported/RJIcon.svg-8e2fc142259b1ef6a7b9d44d49ea7566.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJIcon.svg"
|
||||
dest_files=["res://.godot/imported/RJIcon.svg-0c4b76f83ee560c49146d5d0e2e2cd82.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/RJIcon.svg"
|
||||
dest_files=["res://.godot/imported/RJIcon.svg-8e2fc142259b1ef6a7b9d44d49ea7566.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c7ie66dc2001j"
|
||||
path="res://.godot/imported/RJOnEvent.svg-5454a5a8fda6964ac7468efc75d89600.ctex"
|
||||
path="res://.godot/imported/RJOnEvent.svg-678c3e44ce4ea495de01231d4169e9d8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg"
|
||||
dest_files=["res://.godot/imported/RJOnEvent.svg-5454a5a8fda6964ac7468efc75d89600.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/RJOnEvent.svg"
|
||||
dest_files=["res://.godot/imported/RJOnEvent.svg-678c3e44ce4ea495de01231d4169e9d8.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://di5twkhxs6ldl"
|
||||
path="res://.godot/imported/RJSelector.svg-82cc12c5034e0b56287fb852d3c62b39.ctex"
|
||||
path="res://.godot/imported/RJSelector.svg-6a7c010efebc230663b06363c5e9229f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJSelector.svg"
|
||||
dest_files=["res://.godot/imported/RJSelector.svg-82cc12c5034e0b56287fb852d3c62b39.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/RJSelector.svg"
|
||||
dest_files=["res://.godot/imported/RJSelector.svg-6a7c010efebc230663b06363c5e9229f.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cexdhupggsnhd"
|
||||
path="res://.godot/imported/RJSensor.svg-1fbd8106fb1975a47409ab98bb231c4f.ctex"
|
||||
path="res://.godot/imported/RJSensor.svg-7f213641b40eaf775c1d6f373c7584c7.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJSensor.svg"
|
||||
dest_files=["res://.godot/imported/RJSensor.svg-1fbd8106fb1975a47409ab98bb231c4f.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/RJSensor.svg"
|
||||
dest_files=["res://.godot/imported/RJSensor.svg-7f213641b40eaf775c1d6f373c7584c7.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bc3554irquknv"
|
||||
path="res://.godot/imported/Rokojori-Action-Library-Logo.svg-084dc0777a3bf5e12ed64558d69c8366.ctex"
|
||||
path="res://.godot/imported/Rokojori-Action-Library-Logo.svg-3dd4acc27920727c330711656aab94e1.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Rokojori-Action-Library-Logo.svg"
|
||||
dest_files=["res://.godot/imported/Rokojori-Action-Library-Logo.svg-084dc0777a3bf5e12ed64558d69c8366.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/Rokojori-Action-Library-Logo.svg"
|
||||
dest_files=["res://.godot/imported/Rokojori-Action-Library-Logo.svg-3dd4acc27920727c330711656aab94e1.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://clm1p530y0sh0"
|
||||
path="res://.godot/imported/Scatterer.svg-faa0f406c786220743edbcf86085b917.ctex"
|
||||
path="res://.godot/imported/Scatterer.svg-47ada0ad4359cdaef937276acc71b3c5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Scatterer.svg"
|
||||
dest_files=["res://.godot/imported/Scatterer.svg-faa0f406c786220743edbcf86085b917.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/Scatterer.svg"
|
||||
dest_files=["res://.godot/imported/Scatterer.svg-47ada0ad4359cdaef937276acc71b3c5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c4t5wy2e8guge"
|
||||
path="res://.godot/imported/Spline.svg-24ecac2761c76806ec867265b5304b23.ctex"
|
||||
path="res://.godot/imported/Spline.svg-1e2b9f874c3ee57ea8b3834092dfaef8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Spline.svg"
|
||||
dest_files=["res://.godot/imported/Spline.svg-24ecac2761c76806ec867265b5304b23.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/Spline.svg"
|
||||
dest_files=["res://.godot/imported/Spline.svg-1e2b9f874c3ee57ea8b3834092dfaef8.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bw4lwbtmuf06s"
|
||||
path="res://.godot/imported/VirtualCamera3DSlot.svg-c72b6fb2631e86a90ef74119fcd12075.ctex"
|
||||
path="res://.godot/imported/VirtualCamera3DSlot.svg-86ba6841a565711cf6f67b15a1f31fbb.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/VirtualCamera3DSlot.svg"
|
||||
dest_files=["res://.godot/imported/VirtualCamera3DSlot.svg-c72b6fb2631e86a90ef74119fcd12075.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/VirtualCamera3DSlot.svg"
|
||||
dest_files=["res://.godot/imported/VirtualCamera3DSlot.svg-86ba6841a565711cf6f67b15a1f31fbb.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace Rokojori
|
|||
</summary>
|
||||
*/
|
||||
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJActionList.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/RJActionList.svg") ]
|
||||
public partial class ActionList : RJAction
|
||||
{
|
||||
|
||||
|
|
|
@ -187,7 +187,7 @@ namespace Rokojori
|
|||
|
||||
}
|
||||
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJActionSequence.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/RJActionSequence.svg") ]
|
||||
public partial class ActionSequence:RJSequenceAction
|
||||
{
|
||||
/** <summary for="field actions">Actions to execute</summary>*/
|
||||
|
|
|
@ -4,7 +4,7 @@ using Godot;
|
|||
|
||||
namespace Rokojori
|
||||
{
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/RJOnEvent.svg") ]
|
||||
public partial class OnPhysicsProcess : Node
|
||||
{
|
||||
/** <summary for="field actions">Actions to execute</summary>*/
|
||||
|
|
|
@ -4,7 +4,7 @@ using Godot;
|
|||
|
||||
namespace Rokojori
|
||||
{
|
||||
[GlobalClass, Tool, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg") ]
|
||||
[GlobalClass, Tool, Icon("res://addons/rokojori_action_library/Icons/RJOnEvent.svg") ]
|
||||
public partial class OnProcess : Node
|
||||
{
|
||||
/** <summary for="field actions">Actions to execute</summary>*/
|
||||
|
|
|
@ -4,7 +4,7 @@ using Godot;
|
|||
|
||||
namespace Rokojori
|
||||
{
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/RJOnEvent.svg") ]
|
||||
public partial class OnReady : Node
|
||||
{
|
||||
/** <summary for="field actions">Actions to execute</summary>*/
|
||||
|
|
|
@ -96,6 +96,11 @@ namespace Rokojori
|
|||
|
||||
public Vector3 MinPointPosition()
|
||||
{
|
||||
if ( _points.Count == 0 )
|
||||
{
|
||||
return Vector3.Zero;
|
||||
}
|
||||
|
||||
var min = _points[ 0 ].position;
|
||||
|
||||
points.ForEach( p => min = min.Min( p.position ) );
|
||||
|
@ -105,6 +110,11 @@ namespace Rokojori
|
|||
|
||||
public Vector3 MaxPointPosition()
|
||||
{
|
||||
if ( _points.Count == 0 )
|
||||
{
|
||||
return Vector3.Zero;
|
||||
}
|
||||
|
||||
var max = _points[ 0 ].position;
|
||||
|
||||
points.ForEach( p => max = max.Max( p.position ) );
|
||||
|
|
|
@ -8,7 +8,7 @@ using System;
|
|||
namespace Rokojori
|
||||
{
|
||||
[Tool]
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Scatterer.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/Scatterer.svg") ]
|
||||
public partial class GrassPatch:Node3D
|
||||
{
|
||||
[Export]
|
||||
|
@ -242,8 +242,7 @@ namespace Rokojori
|
|||
var index = random.IntegerExclusive( uvSegments );
|
||||
|
||||
if ( uvSegmentWeightsClose != null )
|
||||
{
|
||||
|
||||
{
|
||||
var weightsClose = MathX.GetCurveWeights( uvSegmentWeightsClose, uvSegments );
|
||||
|
||||
if ( uvSegmentWeightsFar != null )
|
||||
|
@ -261,15 +260,29 @@ namespace Rokojori
|
|||
}
|
||||
|
||||
var x = index % uvSegmentColumns;
|
||||
var y = index / uvSegmentRows;
|
||||
var y = Mathf.FloorToInt( index / uvSegmentColumns );
|
||||
|
||||
var xSize = 1f / uvSegmentRows;
|
||||
var ySize = 1f / uvSegmentColumns;
|
||||
var xSize = 1f / uvSegmentColumns;
|
||||
var ySize = 1f / uvSegmentRows;
|
||||
|
||||
uvMin.X = x * xSize;
|
||||
uvMin.Y = y * ySize;
|
||||
|
||||
uvMax = uvMin + new Vector2( xSize, ySize );
|
||||
|
||||
// if ( X_numBlades < 6 )
|
||||
// {
|
||||
// RJLog.Log(
|
||||
|
||||
// " c,r:",uvSegmentColumns,uvSegmentRows,
|
||||
// " index:", index,
|
||||
// " x,y:", x,y,
|
||||
// " xS,yS:",xSize,ySize,
|
||||
// " uvMin:", uvMin,
|
||||
// " uvMax:", uvMax
|
||||
|
||||
// );
|
||||
// }
|
||||
}
|
||||
|
||||
for ( int i = 0; i <= bladeSegments; i++ )
|
||||
|
|
|
@ -8,7 +8,7 @@ using System;
|
|||
namespace Rokojori
|
||||
{
|
||||
[Tool]
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Spline.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/Spline.svg") ]
|
||||
public partial class LeafMesh:Node3D
|
||||
{
|
||||
[Export]
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Rokojori
|
|||
}
|
||||
|
||||
[Tool]
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Spline.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/Spline.svg") ]
|
||||
public partial class Spline : Node3D
|
||||
#if TOOLS
|
||||
, GizmoDrawer
|
||||
|
@ -62,6 +62,8 @@ namespace Rokojori
|
|||
{
|
||||
var splinePoints = Nodes.GetDirectChildren<SplinePoint>( this );
|
||||
|
||||
|
||||
|
||||
splineCurve = new SplineCurveCreator().Create( splinePoints, closed );
|
||||
|
||||
min = splineCurve.MinPointPosition();
|
||||
|
@ -132,6 +134,14 @@ namespace Rokojori
|
|||
|
||||
gizmo.Clear();
|
||||
|
||||
if ( curve.points.Count <= 1 )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
var linePoints = new List<Vector3>();
|
||||
|
||||
int resolution = editorResolution <= 0 ? 20 : editorResolution;
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace Rokojori
|
|||
}
|
||||
|
||||
[Tool]
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Spline.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/Spline.svg") ]
|
||||
public partial class Tube : Node3D
|
||||
{
|
||||
[Export]
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
namespace Rokojori
|
||||
{
|
||||
[Tool]
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Spline.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/Spline.svg") ]
|
||||
public partial class TubeShape:Node
|
||||
{
|
||||
[Export]
|
||||
|
|
|
@ -8,7 +8,7 @@ using System;
|
|||
namespace Rokojori
|
||||
{
|
||||
[Tool]
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/Scatterer.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/Scatterer.svg") ]
|
||||
public partial class Scatterer:Node3D
|
||||
{
|
||||
[Export]
|
||||
|
|
|
@ -4,7 +4,7 @@ using Godot;
|
|||
|
||||
namespace Rokojori
|
||||
{
|
||||
[GlobalClass,Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJSensor.svg")]
|
||||
[GlobalClass,Icon("res://addons/rokojori_action_library/Icons/RJSensor.svg")]
|
||||
public partial class CombineSensor : RJSensor
|
||||
{
|
||||
[Export]
|
||||
|
|
|
@ -4,7 +4,7 @@ using Godot;
|
|||
|
||||
namespace Rokojori
|
||||
{
|
||||
[GlobalClass,Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJSensor.svg")]
|
||||
[GlobalClass,Icon("res://addons/rokojori_action_library/Icons/RJSensor.svg")]
|
||||
public partial class InputSensor : RJSensor
|
||||
{
|
||||
[Export]
|
||||
|
|
|
@ -4,7 +4,7 @@ using Godot;
|
|||
|
||||
namespace Rokojori
|
||||
{
|
||||
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg") ]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/RJOnEvent.svg") ]
|
||||
public partial class OnSensor: Node
|
||||
{
|
||||
[Export]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Library/Math.gdshaderinc"
|
||||
#include "res://addons/rokojori_action_library/Runtime/Shading/Library/Math.gdshaderinc"
|
||||
|
||||
const float HCV_EPSILON = 1e-10;
|
||||
const float HSL_EPSILON = 1e-10;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
#include "res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Library/Colors.gdshaderinc"
|
||||
#include "res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Library/Math.gdshaderinc"
|
||||
#include "res://addons/rokojori_action_library/Runtime/Shading/Library/Colors.gdshaderinc"
|
||||
#include "res://addons/rokojori_action_library/Runtime/Shading/Library/Math.gdshaderinc"
|
||||
|
||||
uniform sampler2D screenTexture:
|
||||
hint_screen_texture,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
#include "res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Library/Colors.gdshaderinc"
|
||||
#include "res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Library/Math.gdshaderinc"
|
||||
#include "res://addons/rokojori_action_library/Runtime/Shading/Library/Colors.gdshaderinc"
|
||||
#include "res://addons/rokojori_action_library/Runtime/Shading/Library/Math.gdshaderinc"
|
||||
|
||||
uniform sampler2D screenTexture:
|
||||
hint_screen_texture,
|
||||
|
|
|
@ -97,6 +97,18 @@ namespace Rokojori
|
|||
return;
|
||||
}
|
||||
|
||||
if ( ui.settings == null )
|
||||
{
|
||||
// RJLog.Log( "No UI.settings Found" );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ui.settings.sizePropertyName == null )
|
||||
{
|
||||
RJLog.Log( "No UI.settings.sizePropertyName Found" );
|
||||
return;
|
||||
}
|
||||
|
||||
//RJLog.Log( "Setting Size", ui.settings.sizePropertyName.propertyName, HierarchyName.Of( uiImage ) );
|
||||
ui.settings.sizePropertyName.Set( uiImage.Material, uiImage.Size );
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[gd_resource type="Resource" script_class="FloatPropertyName" load_steps=2 format=3 uid="uid://v423srfwpna8"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Properties/FloatPropertyName.cs" id="1_4guhd"]
|
||||
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Shading/Properties/FloatPropertyName.cs" id="1_4guhd"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_4guhd")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[gd_resource type="Resource" script_class="FloatPropertyName" load_steps=2 format=3 uid="uid://dbg2rgj5s7uqn"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Properties/FloatPropertyName.cs" id="1_2hnh6"]
|
||||
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Shading/Properties/FloatPropertyName.cs" id="1_2hnh6"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_2hnh6")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[gd_resource type="Resource" script_class="FloatPropertyName" load_steps=2 format=3 uid="uid://dngbeoiix72sf"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Properties/FloatPropertyName.cs" id="1_0sf2s"]
|
||||
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Shading/Properties/FloatPropertyName.cs" id="1_0sf2s"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_0sf2s")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[gd_resource type="Resource" script_class="Vector2PropertyName" load_steps=2 format=3 uid="uid://bhy8b3gopkq4m"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Shading/Properties/Vector2PropertyName.cs" id="1_t5csl"]
|
||||
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Shading/Properties/Vector2PropertyName.cs" id="1_t5csl"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_t5csl")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="UISettings" load_steps=3 format=3 uid="uid://dp57o0ykhkqfj"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/UI/UISettings.cs" id="1_5a283"]
|
||||
[ext_resource type="Resource" uid="uid://bhy8b3gopkq4m" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/UI/ShaderProperties/Vector2/Size.tres" id="2_cdd3u"]
|
||||
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/UISettings.cs" id="1_5a283"]
|
||||
[ext_resource type="Resource" uid="uid://bhy8b3gopkq4m" path="res://addons/rokojori_action_library/Runtime/UI/ShaderProperties/Vector2/Size.tres" id="2_cdd3u"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_5a283")
|
||||
|
|
|
@ -9,7 +9,7 @@ using Godot;
|
|||
namespace Rokojori
|
||||
{
|
||||
[Tool]
|
||||
[Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/VirtualCamera3DSlot.svg") ]
|
||||
[Icon("res://addons/rokojori_action_library/Icons/VirtualCamera3DSlot.svg") ]
|
||||
[GlobalClass]
|
||||
public partial class VirtualCamera3DSlot:RJAction
|
||||
{
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dl0a70xdmboor"
|
||||
path="res://.godot/imported/Arc-Test.svg-26823712ea0acab6c0061bccaa916650.ctex"
|
||||
path="res://.godot/imported/Arc-Test.svg-e4176aa927bd6cb6b7e8759e912fa4a8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/XML/SVG/Arc-Test.svg"
|
||||
dest_files=["res://.godot/imported/Arc-Test.svg-26823712ea0acab6c0061bccaa916650.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Runtime/XML/SVG/Arc-Test.svg"
|
||||
dest_files=["res://.godot/imported/Arc-Test.svg-e4176aa927bd6cb6b7e8759e912fa4a8.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
Loading…
Reference in New Issue