Skip to content

Documentation / scene / ZHairEncodeOptions

Type Alias: ZHairEncodeOptions

ZHairEncodeOptions = object

Defined in: libs/scene/src/asset/loaders/zhair/zhair_format.ts:162

File-level facts that are not derivable from the strands themselves.

Properties

unitScale?

optional unitScale?: number

Defined in: libs/scene/src/asset/loaders/zhair/zhair_format.ts:164

Scale converting the stored units to metres. Defaults to 1.


sourcePath?

optional sourcePath?: string

Defined in: libs/scene/src/asset/loaders/zhair/zhair_format.ts:166

Path of the source archive, recorded for reimport.


sourceFormat?

optional sourceFormat?: "alembic" | "hair"

Defined in: libs/scene/src/asset/loaders/zhair/zhair_format.ts:168

Container the strands came from.

Released under the MIT License.