Class RenderManager.RenderRequest
Queues a new prefab to be rendered. The resulting Sprite will be ready at the next frame.
Inheritance
RenderManager.RenderRequest
Assembly: Jotunn.dll
Syntax
public class RenderManager.RenderRequest
Constructors
Fields
Name |
Description |
Target
|
Target GameObject to create a Sprite from |
Properties
Name |
Description |
DistanceMultiplier
|
Distance multiplier, should not be required with the default FieldOfView |
FieldOfView
|
Field of view of the camera used to create the Sprite. Default is small to simulate orthographic view. An orthographic camera is not possible because of shaders |
Height
|
Pixel height of the generated Sprite |
ParticleSimulationTime
|
Simulates the particle effects for this amount of seconds. Less than 0 for no particles. |
Rotation
|
Rotation of the prefab to capture |
TargetPlugin
|
Optional, Used for UseCache to determine a unique name-version combination |
UseCache
|
Save the render on the disc and reuse when called again. This reduces the time to re-render drastically.
When the game version changes, a new render will be made. When a TargetPlugin is set, the version and name
will be used to determine if a new render should be made |
Width
|
Pixel width of the generated Sprite |
Extension Methods