Description
SamplerToAttribute (v1)
Use a float or vector sampler to generate the value of an attribute
Input(s) : Collection [Intrinsic] - Collection to set the attribute data to Sampler - Sampler to use to set the value of the attribute AttributeName - Name of the attribute to set the value on VertexSelection - Select vertices to sample value on them
Output(s): Collection [Passthrough] - Collection to set the attribute data to AttributeName [Passthrough] - Name of the attribute to set the value on
Information
| Module | DataflowNodes |
| Category | Dataflow |
| Tags | Transfer Generate |
| Type | FDataflowSamplerToAttributeNode |
Parameters
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| bSaveAsColor | If Sampler input is a FloatSampler and this flag is on then data will be saved as LinearColor using the sampled float values to create grayscale colors, If Sampler input is a VectorSampler type and this flag is on then data will be saved as LinearColor using the sampled vector values to set the colors | bool | False |
| VertexGroup | Vertex group to use | FScalarVertexPropertyGroup | (Name="Vertices") |
| bUseDefaultValue | bool | False | |
| DefaultValue | This value gets assigned to the non-selected vertices, when the input sampler is a FloatSampler | float | 0.000000 |
| DefaultVectorValue | This value gets assigned to the non-selected vertices, when the input sampler is a VectorSampler | FVector | (X=0.000000,Y=0.000000,Z=0.000000) |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Collection | Collection to set the attribute data to | FManagedArrayCollection | () |
| Sampler | Sampler to use to set the value of the attribute | FDataflowSamplerTypes | (Value=()) |
| AttributeName | Name of the attribute to set the value on | FString | Dummy |
| VertexSelection | Select vertices to sample value on them | FDataflowVertexSelection | () |
Outputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Collection | Collection to set the attribute data to | FManagedArrayCollection | |
| AttributeName | Name of the attribute to set the value on | FString |