reckfellENGINE

VisualShaderNodeCubemap

A Cubemap sampling node to be used within the visual shader graph.

On this page
class VisualShaderNodeCubemapReckfellSharpInherits VisualShaderNode

A Cubemap sampling node to be used within the visual shader graph.

Translated to texture(cubemap, vec3) in the shader language. Returns a color vector and alpha channel as scalar.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

VisualShaderNodeCubemapConstructor
# VisualShaderNodeCubemap
C#
public VisualShaderNodeCubemap();

Properties3

CubeMapProperty
# CubeMap
C#
public TextureLayered CubeMap { get; set; }

The Cubemap texture to sample when using VisualShaderNodeCubemap.SourceEnum.Texture as VisualShaderNodeCubemap.Source.

SourceProperty
# Source
C#
public VisualShaderNodeCubemap.SourceEnum Source { get; set; }

Defines which source should be used for the sampling.

TextureTypeProperty
# TextureType
C#
public VisualShaderNodeCubemap.TextureTypeEnum TextureType { get; set; }

Defines the type of data provided by the source texture.

Methods7

GetCubeMapTextureLayered
# GetCubeMap
C#
public TextureLayered GetCubeMap();
Returns TextureLayered
GetSourceVisualShaderNodeCubemap.SourceEnum
# GetSource
C#
public VisualShaderNodeCubemap.SourceEnum GetSource();
Returns VisualShaderNodeCubemap.SourceEnum
GetTextureTypeVisualShaderNodeCubemap.TextureTypeEnum
# GetTextureType
C#
public VisualShaderNodeCubemap.TextureTypeEnum GetTextureType();
Returns VisualShaderNodeCubemap.TextureTypeEnum
SetCubeMap2 overloads
# SetCubeMap · 1/2
C#
public void SetCubeMap(Cubemap value);
Parameters
NameTypeDefault
valueCubemap—
# SetCubeMap · 2/2
C#
public void SetCubeMap(TextureLayered value);
Parameters
NameTypeDefault
valueTextureLayered—
SetSourcevoid
# SetSource
C#
public void SetSource(VisualShaderNodeCubemap.SourceEnum value);
Parameters
NameTypeDefault
valueVisualShaderNodeCubemap.SourceEnum—
SetTextureTypevoid
# SetTextureType
C#
public void SetTextureType(VisualShaderNodeCubemap.TextureTypeEnum value);
Parameters
NameTypeDefault
valueVisualShaderNodeCubemap.TextureTypeEnum—

VisualShaderNodeCubemap.SourceEnum

ValueDescription
Max = 2

Represents the size of the VisualShaderNodeCubemap.SourceEnum enum.

Port = 1

Use the Cubemap sampler reference passed via the samplerCube port. If this is set to VisualShaderNodeCubemap.Source, the VisualShaderNodeCubemap.CubeMap texture is ignored.

Texture = 0

Use the Cubemap set via VisualShaderNodeCubemap.CubeMap. If this is set to VisualShaderNodeCubemap.Source, the samplerCube port is ignored.

VisualShaderNodeCubemap.TextureTypeEnum

ValueDescription
Color = 1

Adds source_color as hint to the uniform declaration for proper conversion from nonlinear sRGB encoding to linear encoding.

Data = 0

No hints are added to the uniform declaration.

Max = 3

Represents the size of the VisualShaderNodeCubemap.TextureTypeEnum enum.

NormalMap = 2

Adds hint_normal as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.