Table of Contents

Struct RingProfile

Namespace
S1MAPI.ProceduralMesh.Generators.Organic
Assembly
S1MAPI_Mono.dll

Defines a single ring in a body profile

public struct RingProfile
Inherited Members

Constructors

RingProfile(float, float, float, float, float)

Create a new ring profile

public RingProfile(float zPosition, float widthScale, float heightScaleTop, float heightScaleBottom, float asymmetry)

Parameters

zPosition float
widthScale float
heightScaleTop float
heightScaleBottom float
asymmetry float

Fields

Asymmetry

Asymmetry factor (0 = symmetrical, positive/negative = asymmetric deformation)

public float Asymmetry

Field Value

float

HeightScaleBottom

Height scale factor for lower half of ring

public float HeightScaleBottom

Field Value

float

HeightScaleTop

Height scale factor for upper half of ring

public float HeightScaleTop

Field Value

float

WidthScale

Width scale factor for this ring

public float WidthScale

Field Value

float

ZPosition

Position along the body (typically -0.5 to 0.5 normalized)

public float ZPosition

Field Value

float