This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
.../Components/InstancedStaticMeshComponent.h | 5 +++++ | |
.../Runtime/Engine/Private/InstancedStaticMesh.cpp | 13 +++++++++++-- | |
.../Runtime/Engine/Public/StaticMeshResources.h | 3 ++- | |
3 files changed, 18 insertions(+), 3 deletions(-) | |
diff --git a/Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h b/Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h | |
index d6694d8ce..af60349c1 100644 | |
--- a/Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h | |
+++ b/Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.AnimNode.AimOffsetLookAt.Debug | |
a.AnimNode.AimOffsetLookAt.Enable | |
a.AnimNode.Inertialization.Enable | |
a.AnimNode.Inertialization.IgnoreDeficit | |
a.AnimNode.Inertialization.IgnoreVelocity | |
a.AnimNode.LegIK.AveragePull | |
a.AnimNode.LegIK.Debug | |
a.AnimNode.LegIK.Enable | |
a.AnimNode.LegIK.EnableTwoBone | |
a.AnimNode.LegIK.MaxIterations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "AlembicImporter", | |
"Enabled": false | |
}, | |
{ | |
"Name": "AppleMoviePlayer", | |
"Enabled": false | |
}, | |
{ | |
"Name": "AppleImageUtils", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <class T, size_t N> struct limited_allocator : std::allocator<T> { | |
using value_type = typename std::allocator<T>::value_type; | |
using size_type = typename std::allocator<T>::size_type; | |
size_type max_size() const noexcept { return N; } | |
template <class Other> struct rebind { | |
typedef limited_allocator<Other, N> other; | |
}; | |
// make msvc happy | |
template <class Other, size_t M> constexpr operator limited_allocator<Other, M>() const noexcept { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Any, ClassVar | |
from typing import overload | |
import collections | |
import enum | |
import importlib._bootstrap | |
class APIInspector(SwigPyObject): | |
this: Any | |
thisown: Any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void AlterMaterialParameter_Simple(UMaterial* Mat) | |
{ | |
UTexture2DArrayFactory* Texture2DArrayFactory = NewObject<UTexture2DArrayFactory>(); | |
UTexture2DArray* DummyTex = Cast<UTexture2DArray>(Texture2DArrayFactory->FactoryCreateNew(UTexture2DArray::StaticClass(),Mat,NAME_None,RF_Standalone | RF_Transactional,nullptr,GWarn)); | |
TArray<UMaterialExpressionTextureSampleParameter* > ParamsTextureSamples; | |
for (int32 ExpressionIndex = 0; ExpressionIndex < Mat->Expressions.Num(); ExpressionIndex++) | |
{ | |
auto* ExpressionPtr = Cast<UMaterialExpressionTextureSampleParameter>(Mat->Expressions[ExpressionIndex]); | |
if (ExpressionPtr) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef HBAO_CGINC | |
#define HBAO_CGINC | |
#include "UnityCG.cginc" | |
sampler2D _MainTex; | |
float4 _MainTex_TexelSize; | |
half4x4 _WorldToViewMatrix; | |
struct appdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://godbolt.org/z/7hefs586j | |
#include <functional> | |
#include <tuple> | |
#include <iostream> | |
template <size_t n> using index_constant = std::integral_constant<size_t, n>; | |
template<class ... Args> | |
class callee_list | |
{ | |
public: | |
template<class ... TArgs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Hidden/Bloom" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
} | |
HLSLINCLUDE | |
#include "Packages/com.unity.render-pipelines.lightweight/ShaderLibrary/Core.hlsl" | |
struct appdata |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder