Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    CustomHeightScaleCalculator Class

    Namespace: Stride.Physics
    Assembly: Stride.Physics.dll
    System.Object → CustomHeightScaleCalculator
    Derived from CustomHeightScaleCalculator:

    [DataContract]
    [Display("Custom", null)]
    public class CustomHeightScaleCalculator : IHeightScaleCalculator
    Name Description
    Properties
    Denominator
    Numerator
    Methods
    Calculate(IHeightStickParameters)
    | Improve this Doc View Source

    Properties


    Denominator

    [DataMember(20)]
    public float Denominator { get; set; }
    Property Value
    Type Description
    System.Single

    Numerator

    [DataMember(10)]
    public float Numerator { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Methods


    Calculate(IHeightStickParameters)

    public float Calculate(IHeightStickParameters heightDescription)
    Parameters
    Type Name Description
    IHeightStickParameters heightDescription
    Returns
    Type Description
    System.Single

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation