Show / Hide Table of Contents

Class RenderManager.RenderRequest

Queues a new prefab to be rendered. The resulting will be ready at the next frame.
Inheritance
System.Object
RenderManager.RenderRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Managers
Assembly: Jotunn.dll
Syntax
public class RenderRequest

Constructors

| Improve this Doc View Source

RenderRequest(GameObject)

Create a new RenderRequest
Declaration
public RenderRequest(GameObject target)
Parameters
Type Name Description
GameObject target Object to be rendered. A copy of the provided GameObject will be created for rendering

Fields

| Improve this Doc View Source

Target

Target GameObject to create a from
Declaration
public readonly GameObject Target
Field Value
Type Description
GameObject

Properties

| Improve this Doc View Source

Callback

Callback for the generated
Declaration
[Obsolete]
public Action<Sprite> Callback { get; }
Property Value
Type Description
System.Action<Sprite>
| Improve this Doc View Source

DistanceMultiplier

Distance multiplier, should not be required with the default FieldOfView
Declaration
public float DistanceMultiplier { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

FieldOfView

Field of view of the camera used to create the . Default is small to simulate orthographic view. An orthographic camera is not possible because of shaders
Declaration
public float FieldOfView { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Height

Pixel height of the generated
Declaration
public int Height { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Rotation

Rotation of the prefab to capture
Declaration
public Quaternion Rotation { get; set; }
Property Value
Type Description
Quaternion
| Improve this Doc View Source

Width

Pixel width of the generated
Declaration
public int Width { get; set; }
Property Value
Type Description
System.Int32

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾