Class CharacterModel
Character model data
Inherited Members
Namespace: Pixiv.VroidSdk.Api.DataModel
Assembly: Pixiv.VroidSdk.dll
Syntax
public sealed class CharacterModel
Fields
age_limit
Age restriction
Declaration
public AgeLimit age_limit
Field Value
Type | Description |
---|---|
AgeLimit |
character
Linked character
Declaration
public Character character
Field Value
Type | Description |
---|---|
Character |
created_at
Model creation date
Declaration
public string created_at
Field Value
Type | Description |
---|---|
String |
download_count
Download count
Declaration
public long download_count
Field Value
Type | Description |
---|---|
Int64 |
full_body_image
Full body image
Declaration
public FullBodyImage full_body_image
Field Value
Type | Description |
---|---|
FullBodyImage |
heart_count
No. of times hearted
Declaration
public long heart_count
Field Value
Type | Description |
---|---|
Int64 |
id
Character model ID
Declaration
public string id
Field Value
Type | Description |
---|---|
String |
is_downloadable
Is the VRM able to be downloaded from the the webpage or not
Declaration
public bool is_downloadable
Field Value
Type | Description |
---|---|
Boolean |
is_hearted
Has user hearted this model or not
Declaration
public bool is_hearted
Field Value
Type | Description |
---|---|
Boolean |
is_other_users_available
Is the VRM able to be used in SDK or not
Declaration
public bool is_other_users_available
Field Value
Type | Description |
---|---|
Boolean |
is_private
Is private or not
Declaration
public bool is_private
Field Value
Type | Description |
---|---|
Boolean |
latest_character_model_version
Model version
Declaration
public CharacterModelVersion latest_character_model_version
Field Value
Type | Description |
---|---|
CharacterModelVersion |
license
Conditions of use
Declaration
public CharacterLicense license
Field Value
Type | Description |
---|---|
CharacterLicense |
name
Model name
Declaration
public string name
Field Value
Type | Description |
---|---|
String |
Remarks
Null if not set
portrait_image
Portrait picture
Declaration
public PortraitImage portrait_image
Field Value
Type | Description |
---|---|
PortraitImage |
published_at
Publish date
Declaration
public string published_at
Field Value
Type | Description |
---|---|
String |
Remarks
Null if not published
tags
Attached tags
Declaration
public List<Tag> tags
Field Value
Type | Description |
---|---|
List<Tag> |
usage_count
No. of download licenses issued for model use
Declaration
public long usage_count
Field Value
Type | Description |
---|---|
Int64 |
view_count
No. of views
Declaration
public long view_count
Field Value
Type | Description |
---|---|
Int64 |
Methods
CreatedAt()
Get model creation date
Declaration
public DateTime? CreatedAt()
Returns
Type | Description |
---|---|
Nullable<DateTime> | Creation date |
getVRMVersion()
Returns model VRM version
Declaration
public string getVRMVersion()
Returns
Type | Description |
---|---|
String | "0.0" or "1.0" |
Remarks
CharacterModel.latest_character_model_version.spec_version includes the VRM version, but may be returned as null or "", so this returns "0.0" in cases other than "0.0" or "1.0"
PublishedAt()
Get date model was published
Declaration
public DateTime? PublishedAt()
Returns
Type | Description |
---|---|
Nullable<DateTime> | Publish date |
Remarks
Returns null if published_at is null or empty