Skip to content

Get Sansar

Script API

MaterialProperties

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Struct Namespace Sansar.Simulation Added in 37.0.0

public struct MaterialProperties

Members at a glance

KindMembers
FieldsAbsorption · ApplyGlobalWind New in 47.10.0 · ApplyUvOffsetToAo · ApplyUvOffsetToDiffuse · ApplyUvOffsetToEmissive · AudioReactAdaptiveDisplacement · AudioReactAdaptiveFlashEmissive · AudioReactDisplacementOnHigh · AudioReactDisplacementOnLow · AudioReactDisplacementOnMid · AudioReactEmissiveBrightness · AudioReactEmissiveColor · AudioReactFlashEmissiveOnHigh · AudioReactFlashEmissiveOnLow · AudioReactFlashEmissiveOnMid · AudioReactFlipbookFrame · BladeDensity New in 47.10.0 · BladeHeight New in 47.10.0 · BladeWidth New in 47.10.0 · BlendDisplacementFlipbook · BlendOnDisplacementLoop · Brightness · DirtRoughness New in 47.10.0 · DrawAfterimages · EmissiveIntensity · FlipbookFrame · FlipbookIndex · FurDensity New in 47.10.0 · FurLength New in 47.10.0 · FurRootColor New in 47.10.0 · FurThickness New in 47.10.0 · FurTipColor New in 47.10.0 · GrassDensity New in 47.10.0 · GrassDirtColor New in 47.10.0 · GrassLength New in 47.10.0 · GrassRootColor New in 47.10.0 · GrassThickness New in 47.10.0 · GrassTipColor New in 47.10.0 · GravityStrength New in 47.10.0 · LoopDisplacementFlipbook · LoopFlipbook · PingPongDisplacementFlipbook · ReceiveReflection · RenderBlades New in 47.10.0 · RenderFins New in 47.10.0 · RenderShells New in 47.10.0 · Roughness New in 47.10.0 · ScrollAlbedo · ScrollAo · ScrollDisplacement · ScrollDisplacementFactor · ScrollEmissive · ScrollMask · ScrollMetalness · ScrollNormalRoughness · SelfShadowStrength New in 47.10.0 · ShadowCasting · ShellHeight New in 47.10.0 · Tint · UseCustomBladeShape New in 47.10.0 · VatBlendAnimLoop · VatFrame · VatLoopAnim · VatLoopRunLength · VatLoopStartFrame · VatPingPongAnim · VatStepRate · WindFlowScale New in 47.10.0 · WindStrength New in 47.10.0

Fields

Absorption

Added in 37.0.0
public float Absorption

ApplyGlobalWind

New in 47.10.0
public bool ApplyGlobalWind

ApplyUvOffsetToAo

Added in 46.5.0
public bool ApplyUvOffsetToAo

ApplyUvOffsetToDiffuse

Added in 46.5.0
public bool ApplyUvOffsetToDiffuse

ApplyUvOffsetToEmissive

Added in 46.5.0
public bool ApplyUvOffsetToEmissive

AudioReactAdaptiveDisplacement

Added in 46.5.0
public bool AudioReactAdaptiveDisplacement

AudioReactAdaptiveFlashEmissive

Added in 46.5.0
public bool AudioReactAdaptiveFlashEmissive

AudioReactDisplacementOnHigh

Added in 46.5.0
public bool AudioReactDisplacementOnHigh

AudioReactDisplacementOnLow

Added in 46.5.0
public bool AudioReactDisplacementOnLow

AudioReactDisplacementOnMid

Added in 46.5.0
public bool AudioReactDisplacementOnMid

AudioReactEmissiveBrightness

Added in 46.5.0
public bool AudioReactEmissiveBrightness

AudioReactEmissiveColor

Added in 46.5.0
public bool AudioReactEmissiveColor

AudioReactFlashEmissiveOnHigh

Added in 46.5.0
public bool AudioReactFlashEmissiveOnHigh

AudioReactFlashEmissiveOnLow

Added in 46.5.0
public bool AudioReactFlashEmissiveOnLow

AudioReactFlashEmissiveOnMid

Added in 46.5.0
public bool AudioReactFlashEmissiveOnMid

AudioReactFlipbookFrame

Added in 46.5.0
public bool AudioReactFlipbookFrame

BladeDensity

New in 47.10.0
public float BladeDensity

BladeHeight

New in 47.10.0
public float BladeHeight

BladeWidth

New in 47.10.0
public float BladeWidth

BlendDisplacementFlipbook

Added in 46.5.0
public bool BlendDisplacementFlipbook

BlendOnDisplacementLoop

Added in 46.5.0
public bool BlendOnDisplacementLoop

Brightness

Added in 37.0.0
public float Brightness

DirtRoughness

New in 47.10.0
public float DirtRoughness

DrawAfterimages

Added in 46.5.0
public bool DrawAfterimages

EmissiveIntensity

Added in 37.0.0
public float EmissiveIntensity

FlipbookFrame

Added in 37.0.0
public float FlipbookFrame

FlipbookIndex

Added in 46.5.0
public float FlipbookIndex

FurDensity

New in 47.10.0
public float FurDensity

FurLength

New in 47.10.0
public float FurLength

FurRootColor

New in 47.10.0
public Sansar.Color FurRootColor

FurThickness

New in 47.10.0
public float FurThickness

FurTipColor

New in 47.10.0
public Sansar.Color FurTipColor

GrassDensity

New in 47.10.0
public float GrassDensity

GrassDirtColor

New in 47.10.0
public Sansar.Color GrassDirtColor

GrassLength

New in 47.10.0
public float GrassLength

GrassRootColor

New in 47.10.0
public Sansar.Color GrassRootColor

GrassThickness

New in 47.10.0
public float GrassThickness

GrassTipColor

New in 47.10.0
public Sansar.Color GrassTipColor

GravityStrength

New in 47.10.0
public float GravityStrength

LoopDisplacementFlipbook

Added in 46.5.0
public bool LoopDisplacementFlipbook

LoopFlipbook

Added in 46.5.0
public bool LoopFlipbook

PingPongDisplacementFlipbook

Added in 46.5.0
public bool PingPongDisplacementFlipbook

ReceiveReflection

Added in 46.5.0
public bool ReceiveReflection

RenderBlades

New in 47.10.0
public bool RenderBlades

RenderFins

New in 47.10.0
public bool RenderFins

RenderShells

New in 47.10.0
public bool RenderShells

Roughness

New in 47.10.0
public float Roughness

ScrollAlbedo

Added in 46.5.0
public bool ScrollAlbedo

ScrollAo

Added in 46.5.0
public bool ScrollAo

ScrollDisplacement

Added in 46.5.0
public bool ScrollDisplacement

ScrollDisplacementFactor

Added in 46.5.0
public bool ScrollDisplacementFactor

ScrollEmissive

Added in 46.5.0
public bool ScrollEmissive

ScrollMask

Added in 46.5.0
public bool ScrollMask

ScrollMetalness

Added in 46.5.0
public bool ScrollMetalness

ScrollNormalRoughness

Added in 46.5.0
public bool ScrollNormalRoughness

SelfShadowStrength

New in 47.10.0
public float SelfShadowStrength

ShadowCasting

Added in 46.5.0
public bool ShadowCasting

ShellHeight

New in 47.10.0
public float ShellHeight

Tint

Added in 37.0.0
public Sansar.Color Tint

UseCustomBladeShape

New in 47.10.0
public bool UseCustomBladeShape

VatBlendAnimLoop

Added in 46.5.0
public bool VatBlendAnimLoop

VatFrame

Added in 46.5.0
public float VatFrame

VatLoopAnim

Added in 46.5.0
public bool VatLoopAnim

VatLoopRunLength

Added in 46.5.0
public float VatLoopRunLength

VatLoopStartFrame

Added in 46.5.0
public float VatLoopStartFrame

VatPingPongAnim

Added in 46.5.0
public bool VatPingPongAnim

VatStepRate

Added in 46.5.0
public float VatStepRate

WindFlowScale

New in 47.10.0
public float WindFlowScale

WindStrength

New in 47.10.0
public float WindStrength

Generated from the Sansar 47.10.0 client ScriptApi snapshot.