Old repository with C# Editor and C# API for creating games in Flax Engine
Contributors: stefnotch
FlaxEngine.Object.New<GPUTexture>()
Actor.Children
getterAutomaticAverageLuminance
Contributors: stefnotch, JimiVacarians
Control.PointFromParent(ContainerControl parent, Vector2 location)
-lowdpi
command line to use default DPIShowInEditor
attributeTime.StartupTime
Texture.FromFile
and Texture.LoadFile
for loading images from files in gameGPUContext.CopyTextureRegion
-d3d12
command line switch)Font.ProcessText
FLAX
define to game scripts projectEditor.CustomData
for editor plugins to cache persistent data during sessionActor.HasTag
Asset.GetReferences
)DrawPass
masking support for better rendering configurabilityStaticModel.HiddenShadow
(use draw modes option)RenderTask.Create<>
, use Object.New<>
Mathf.Deg2Rad
/Mathf.Rad2Deg
, use Mathf.DegreesToRadians
/Mathf.RadiansToDegrees
DebugDraw.DrawSphere
with center and radius (use method with BoundingSphere)EnumElement.EnumTypeValue
getterScripting.InvokeOnUpdate
to be thread-safeCollider.ComputePenetration
CollisionData.CookCollision
from custom geometry buffersContributors: JimiVacarians, stefnotch
-vulkan
command line to use Vulkan rendering backendOnEnable
and OnDisable
events to script template-headless
flag in cooked game on Windows-skipcompile
cmd line to skip automatic scripts compilation on startup (useful when launching engine from IDE)-mute
cmd line to disable audioPanel.AlwaysShowScrollbars
GameWindowMode
option for Windows platform to specify game window modeCreateAndSetVirtualMaterialInstance()
to Decal, Animated Model and Static Model actorsAdd SurfaceNode.DepthFirstTraversal()
Mathf.Clamp01
- use Mathf.Saturate
insteadCustomRenderTask.OnRender
to CustomRenderTask.Render
Control.CanFocus
into AutoFocus
Object.id
to Object._internalId
to prevent name collisions in scriptsContentEditingModule.CloneAssetFile
Actor.Direction = Vector3.Up
Render2D.FillRectangle
with 4 colors and alpha blendingUIControl.FallbackParentGetDelegate
Asset.WaitForLoaded
to 30sJsonSerializer.Deserialize<T>(string json)
helper methodRender.DrawRectangle
with 4 vertex colorsScripting.InvokeOnUpdate
InputEvent.Dispose
Show Selection Outline
editor optionBoxCollider.OrientedBox
getterCamera.MainCamera
DebugDraw.DrawWire*
methods for wireframe debug shapes rendering and DebugDraw.Draw*
methods for solid debug shapes renderingAlphaBlendMode
to engine C# API and Mathf.InterpolateAlphaBlend
IDrawable
Script.Actor
for easy reparenting scriptsSkinnedModel
C# API for editing skeleton from code (user can modify both nodes and bones hierarchy)Input.ScanGamepads
as engine will always automatically scan for gamepads changePostFxVolume.Center
propertyAddRelativeForce
and AddRelativeTorque
issuesreadonly
keywordR11G11B10_Float
Actor.AddChild
with worldPositionStays set to false