Constructor CubemapSampler
CubemapSampler(GameObject, IPhotosensorArrayDescription, SceneSamplerDesc, int)
Constructs a sampler that uses multiple unity cameras to create a cube map.
Declaration
public CubemapSampler(GameObject parent, IPhotosensorArrayDescription sensorDesc, SceneSamplerDesc samplerDesc, int faceMask = 63)
Parameters
Type | Name | Description |
---|---|---|
GameObject | parent | The GameObject that corresponds to the utilized component. Instantiates a Unity camera to execute the sampling. |
IPhotosensorArrayDescription | sensorDesc | Information defined on the photosensor array node. Note: the height and width MUST be the same and a power of two. |
SceneSamplerDesc | samplerDesc | Extra parameters for the sampler. Determines if the sampler should use the raytracing to enhance the rendering. |
int | faceMask | A bit mask that define which faces will have a result stored in. |