Zdexby TheHolyOneZ
44,741 classes
Class

RuntimePreviewGenerator

: Object
RuntimePreviewGenerator, RuntimePreviewGenerator.Runtime 0x0010 (16 B) inherited 0x0010 RuntimePreviewGenerator.Runtime.dll
0x00x0010

Members 19

OffsetSizeNameTypeFlagsDefault
—0x04PREVIEW_LAYERintPrivateStatic+1 flags0
0x0CPREVIEW_POSITIONVector3PrivateStatic—
0x08renderCameraCameraPrivateStatic—
0x08cameraSetupCameraSetupPrivateStatic+1 flags—
0x08boundingBoxPointsVector3[]PrivateStatic+1 flags—
0x08localBoundsMinMaxVector3[]PrivateStatic+1 flags—
0x08renderersListList<UnityEngine.Renderer>PrivateStatic+1 flags—
0x08layersListList<System.Int32>PrivateStatic+1 flags—
0x08m_internalCameraCameraPrivateStatic—
0x0CCamPosVector3PublicStatic—
0x10CamRotQuaternionPublicStatic—
0x00640x04padding / unreflected
0x08m_previewRenderCameraCameraPrivateStatic—
0x0Cm_previewDirectionVector3PrivateStatic—
0x04m_paddingfloatPrivateStatic—
0x10m_backgroundColorColorPrivateStatic—
0x01m_orthographicModeboolPrivateStatic—
0x01m_useLocalBoundsboolPrivateStatic—
0x00920x02padding / unreflected
0x04m_renderSupersamplingfloatPrivateStatic—
0x01m_markTextureNonReadableboolPrivateStatic—

Functions 38

SignatureFlagsNativeParams
Camera get_InternalCamera()PrivateStatic+1 flags0x08
Camera get_PreviewRenderCamera()PublicStatic+1 flags0x08
void set_PreviewRenderCamera(Camera value)PublicStatic+1 flags0x08
Vector3 get_PreviewDirection()PublicStatic+1 flags0x0C
void set_PreviewDirection(const Vector3& value)PublicStatic+1 flags0x0C
float get_Padding()PublicStatic+1 flags0x04
void set_Padding(float value)PublicStatic+1 flags0x04
Color get_BackgroundColor()PublicStatic+1 flags0x10
void set_BackgroundColor(const Color& value)PublicStatic+1 flags0x10
bool get_OrthographicMode()PublicStatic+1 flags0x01
void set_OrthographicMode(bool value)PublicStatic+1 flags0x01
bool get_UseLocalBounds()PublicStatic+1 flags0x01
void set_UseLocalBounds(bool value)PublicStatic+1 flags0x01
float get_RenderSupersampling()PublicStatic+1 flags0x04
void set_RenderSupersampling(float value)PublicStatic+1 flags0x04
bool get_MarkTextureNonReadable()PublicStatic+1 flags0x01
void set_MarkTextureNonReadable(bool value)PublicStatic+1 flags0x01
Texture2D GenerateMaterialPreview(Material material, const PrimitiveType& previewPrimitive, int width, int height)PublicStatic0x08
Texture2D GenerateMaterialPreviewWithShader(Material material, const PrimitiveType& previewPrimitive, Shader shader, const string& replacementTag, int width, int height)PublicStatic0x08
void GenerateMaterialPreviewAsync(Action<UnityEngine.Texture2D> callback, Material material, const PrimitiveType& previewPrimitive, int width, int height)PublicStatic0x08
void GenerateMaterialPreviewWithShaderAsync(Action<UnityEngine.Texture2D> callback, Material material, const PrimitiveType& previewPrimitive, Shader shader, const string& replacementTag, int width, int height)PublicStatic0x08
Texture2D GenerateMaterialPreviewInternal(Material material, const PrimitiveType& previewPrimitive, Shader shader, const string& replacementTag, int width, int height, Action<UnityEngine.Texture2D> asyncCallback)PrivateStatic0x08
Texture2D GenerateModelPreview(Transform model, int width, int height, bool shouldCloneModel, bool shouldIgnoreParticleSystems)PublicStatic0x08
Texture2D GenerateModelPreviewWithShader(Transform model, Shader shader, const string& replacementTag, int width, int height, bool shouldCloneModel, bool shouldIgnoreParticleSystems)PublicStatic0x08
void GenerateModelPreviewAsync(Action<UnityEngine.Texture2D> callback, Transform model, int width, int height, bool shouldCloneModel, bool shouldIgnoreParticleSystems)PublicStatic0x08
void GenerateModelPreviewWithShaderAsync(Action<UnityEngine.Texture2D> callback, Transform model, Shader shader, const string& replacementTag, int width, int height, bool shouldCloneModel, bool shouldIgnoreParticleSystems)PublicStatic0x08
Texture2D GenerateModelPreviewInternal(Transform model, Shader shader, const string& replacementTag, int width, int height, bool shouldCloneModel, bool shouldIgnoreParticleSystems, Action<UnityEngine.Texture2D> asyncCallback)PrivateStatic0x08
bool CalculateBounds(Transform target, bool shouldIgnoreParticleSystems, const Quaternion& cameraRotation, ref Bounds& bounds)PublicStatic0x18
void CalculateCameraPosition(Camera camera, const Bounds& bounds, float padding)PublicStatic0x18
bool IsOutermostPointInDirection(int pointIndex, const Vector3& direction)PrivateStatic0x0C
Ray GetPlanesIntersection(const Plane& p1, const Plane& p2)PrivateStatic0x18
void FindClosestPointsOnTwoLines(const Ray& line1, const Ray& line2, ref Vector3& closestPointLine1, ref Vector3& closestPointLine2)PrivateStatic0x18
void SetupCamera()PrivateStatic0x00
bool IsStatic(Transform obj)PrivateStatic0x08
void SetLayerRecursively(Transform obj)PrivateStatic0x08
void GetLayerRecursively(Transform obj)PrivateStatic0x08
void SetLayerRecursively(Transform obj, ref int& index)PrivateStatic0x08
void .cctor()PrivateStatic+1 flags0x00